subscription_add.inc.php
来自「phpcms2007很好的cms内容管理系统,操作方便」· PHP 代码 · 共 19 行
PHP
19 行
<?phpif(isset($submit)){ $typeid = intval($typeid); if(!$title) showmessage($LANG['mail_title_not_null']); if(!$typeid) showmessage($LANG['select_correct_subscription_type']); if(!$content) showmessage($LANG['mail_content_not_null']); if(!$period) showmessage($LANG['input_period']); $sql="INSERT INTO ".TABLE_MAIL. "(typeid,title,content,addtime,username,period)". "VALUES('$typeid','$title','$content','$PHP_TIME','$_username','$period')"; $result=$db->query($sql); showmessage($LANG['operation_success'],"?mod=$mod&file=$file&action=manage");}$typeid = isset($typeid) ? $typeid : 0 ;$type_select = type_select('typeid',$LANG['select_subscription_type'],$typeid,''); include admintpl("subscription_add");?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?