<?php if($url_blocker != "75726C00"){Header("Location: ./"); exit;}?>
<?
if($logcheck['Option1'] == 1 && $logcheck['Option7'] == 0 || $logcheck['Option1'] == 0 ){
$result = mysql_query("SELECT * FROM visual WHERE refurl = '$refurl'") or die(mysql_error());
$res = mysql_fetch_array($result);
if(!$res){
echo $lang_['invid'];
}else{
$medium= $res['medium'];
$title= $res['title'];
$actors= $res['actors'];
$director= $res['director'];
$writer= $res['writer'];
$rating= $res['rating'];
$genres= $res['genre'];
$prodcomp= $res['prodcomp'];
$studio= $res['studio'];
$length= $res['length'];
$release= $res['release'];
$discnum= $res['discnum'];
$subtitles = $res['subtitles'];
$format= $res['format'];
$audio= $res['audio'];
$encoding= $res['encoding'];
$callnum= $res['callnum'];
$outline= str_replace(array("<br />", "<br/>"), chr(13), $res['outline']);
$synopsis = str_replace(array("<br />", "<br/>"), chr(13), $res['synopsis']);
print("<form action=\"index.php?mode=medit\" name =\"form1\" method=\"post\">
<input type=\"hidden\" name=\"entry\" value=\"$entry\" />
<input type=\"hidden\" name=\"refurl\" value=\"$res[refurl]\" />
<input type=\"hidden\" name=\"doing\" value=\"gotcha\" />
<table cellpadding=\"0\" cellspacing=\"0\" align=\"center\" width=\"95%\" class=\"forText\" summary=\"Edit the below record.\">
<tr><td align=\"center\" colspan=\"2\"><u><b>$lang_[recordm]</b></u></td></tr>
<tr><td align=\"left\" colspan=\"2\">$lang_[recordv] $entry</td></tr>
<tr><td align=\"left\">$lang_[image]</td><td align=\"right\"><a href=\"javascript:image()\">(<u>$lang_[editimage]</u>)</a></td></tr>
");
include "./movie_module/m_addedit.php";
print("<tr>
<td colspan=\"2\" align=\"center\"><input type=\"button\" value=\"$lang_[submit]\" onclick=\"testResults(this.form)\" /> </td></tr></table></form>");
// include the javascript validation code
include "./movie_module/m_validate.php";
}
}else{
echo $lang_['nlogin'];
}
?>