<?php

	include "library.php";

	$cxn = start_code();

	$cxn_common = db_common_login();

	
			/* get variables */

	$account_id = val( $_SESSION, "account_id" );

	$remembered_id = val( $_GET, "rememberedid" );

	
	page_header( "Delete from remembered list", $cxn, $cxn_common );


		/* check parameters */

	crash_if_missing( $account_id, "account_id missing in delete_from_remembered", $cxn );

	crash_if_missing( $remembered_id, "remembered_id missing in delete_from_remembered", $cxn );


	/* prompt the user */

	echo black( "<br>Are you sure you want to remove this listing from your remembered list?<br><br>" );

		/* yes */

	echo sp(2);

//	show_button_h( "yes", "delete_from_remembered_go.php", "delete", "yes", "rememberedid", $remembered_id );

	show_green_button( "Yes", 70, "delete_from_remembered_go.php", "delete", "yes", "rememberedid", $remembered_id );

		/* no */
			
	echo sp(2);

//	show_button_h( "no", "delete_from_remembered_go.php", "delete", "no", "rememberedid", $remembered_id );
	
	show_green_button( "No", 70, "delete_from_remembered_go.php", "delete", "no", "rememberedid", $remembered_id );

?>
