details.php
changeset 26 e8da4f096fde
parent 25 5c3c1b82fea2
child 28 18e8d88f9253
equal deleted inserted replaced
25:5c3c1b82fea2 26:e8da4f096fde
   188 		{
   188 		{
   189 			print "<div id='add_alert'><span>You have successfully added a new URL fetch.</span><a href='details.php'><img class='img_right' src='images/x.gif' width='14' height='20' /></a><div class='clear'></div></div>";
   189 			print "<div id='add_alert'><span>You have successfully added a new URL fetch.</span><a href='details.php'><img class='img_right' src='images/x.gif' width='14' height='20' /></a><div class='clear'></div></div>";
   190 		} else if ($status == "urlerror") 
   190 		} else if ($status == "urlerror") 
   191 		{
   191 		{
   192 			print "<div id='delete_alert'><span>You have entered an malformed url. Please use this format: <em><strong>http://www.yourwebsite.com</strong></em></span><a href='details.php'><img class='img_right' src='images/x.gif' width='14' height='20' /></a><div class='clear'></div></div>";
   192 			print "<div id='delete_alert'><span>You have entered an malformed url. Please use this format: <em><strong>http://www.yourwebsite.com</strong></em></span><a href='details.php'><img class='img_right' src='images/x.gif' width='14' height='20' /></a><div class='clear'></div></div>";
   193 		}
   193 		} else if ($status == "urlerror-2")
       
   194                 {
       
   195                         print "<div id='delete_alert'><span>You have entered the example url: <em><strong>http://www.yourwebsite.com</strong></em> which is provided as an example. Please enter a valid url</span><a href='details.php'><img class='img_right' src='images/x.gif' width='14' height='20' /></a><div class='clear'></div></div>";
       
   196                 }
       
   197 
   194 	?>
   198 	?>
   195     <div id="search">
   199     <div id="search">
   196    	  <h2>Fetch a new URL:</h2>
   200    	  <h2>Fetch a new URL:</h2>
   197 
   201 
   198         <form action="add_search.php" method="get" enctype="multipart/form-data" name="search" target="_parent">
   202         <form action="add_search.php" method="get" enctype="multipart/form-data" name="search" target="_parent">