芝麻web文件管理V1.00
编辑当前文件:/home/jambtst2015/public_html/giraffeng.com/admin/forms_edit.php
0){ $error = 'This Title already exists.'; } else{ if($_POST['title'] == ''){ $error = 'Please enter Title.'; } else{ $insSql = "update `form_master` set "; $insSql .= "title='".mysql_real_escape_string($_POST['title'])."', "; if($dest_subscription_form!=''){ $insSql .= "filename='".mysql_real_escape_string($dest_subscription_form)."', "; } $insSql .= "status='".$_POST['status']."', "; $insSql .= "post_date=now() where id = '".$form_id."' "; //echo $insSql;exit; mysql_query($insSql); //include("mailuser.php"); header('location:forms.php?success=2&page='.$_REQUEST['page'].''); exit(); } } } else{ $_POST['title']=''; } /*---End Add---*/ ?>
Edit Form
*Title
*Upload Form
" class="upld">Uploaded File
Status
selected="selected">Active
selected="selected">Inactive