Location: PHPKode > projects > Library Accounting System > library/movie_module/m_add.php
<?
if($logcheck['Option1'] == 1 && $logcheck['Option7'] == 0 || $logcheck['Option1'] == 0 ){
// check to see if auto download ws selected 
	$search = $_REQUEST['search'];
	$url = $_REQUEST['url'];
	if ($search != ""  && $callnum == ""){
	include "./movie_module/m_autoinfo.php";
	
        }elseif  ($url != ""  && $callnum == ""){
        include "./movie_module/m_autoinfo.php";
        }

//print the form
	print("<form action=\"index.php?mode=madd\" name =\"form1\" method=\"post\">
	<table cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"95%\" class=\"forText\" summary=\"Input all record date in the following fields.\">
<input type=\"hidden\" name=\"doing\" value= \"gotcha\" />
	<tr><td align=\"center\" colspan=\"2\"><u><b>$lang_[addr]</b></u></td></tr>
        ");

if($image != "" && strlen ($image) > 1051){

print("<input type=\"hidden\" name=\"doing\" value= \"$image_url\" /><input type=\"hidden\" name=\"image\" value= \"1\" /<tr><td align=\"center\" colspan=\"2\">Image has been retrieved.</td></tr>");}
// include the body of the form (same one used for both add and edit)
	include "./movie_module/m_addedit.php";

	print("<tr><td align=\"center\"><input type=\"button\" value=\"$lang_[submit]\" onclick=\"testResults(this.form)\" /></td></tr>
	
	</table></form>");

?>
<?
include "./movie_module/m_validate.php";

}else{
echo $lang_['nlogin'];
}
?>

Return current item: Library Accounting System