📄 subscription_add.inc.php
字号:
<?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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -