alter table dede_feedback add column website varchar(20); |
include_once(DEDEINC.'/memberlogin.class.php');$cfg_ml = new MemberLogin( |
$website = cn_substrR($website,50); |
$inquery = "INSERT INTO `cn_feedback`(`aid`,`typeid`,`username`,`arctitle`,`ip`,`ischeck`,`dtime`, `mid`,`bad`,`good`,`ftype`,`face`,`msg`)VALUES ('$aid','$typeid','$username','$arctitle','$ip','$ischeck','$dtime', '{$cfg_ml->M_ID}','0','0','$feedbacktype','$face','$msg'); "; |
$inquery = "INSERT INTO `cn_feedback`(`aid`,`typeid`,`username`,`arctitle`,`ip`,`ischeck`,`dtime`, `mid`,`bad`,`good`,`ftype`,`face`,`msg`,`website`)VALUES ('$aid','$typeid','$username','$arctitle','$ip','$ischeck','$dtime', '{$cfg_ml->M_ID}','0','0','$feedbacktype','$face','$msg','$website'); "; |
<label for="url">Website</label><input id="url" name="website" value="" size="30" type="text"> |
myajax.AddKeyN('username', nusername); |
myajax.AddKeyN('website', f.website.value); |