📄 do.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_sms1.php" );
$connection = openconnection( );
if ( $_REQUEST['cur_page'] == "" )
{
$cur_page = 1;
}
else
{
$cur_page = $_REQUEST['cur_page'];
}
switch ( $_REQUEST['f'] )
{
case "delete" :
$id_term = substr( $_REQUEST['id_str'], 0, -1 );
$sql = "\r\n\t\t DELETE FROM sms \r\n\t\t\t\t WHERE SMS_ID IN (".$id_term.") \r\n\t\t ";
exequery( $connection, $sql );
break;
case "cancel" :
$id_term = substr( $_REQUEST['id_str'], 0, -1 );
$sql = "\r\n\t\t UPDATE sms SET REMIND_FLAG=0\r\n\t\t\t\t WHERE SMS_ID IN (".$id_term.") \r\n\t\t ";
exequery( $connection, $sql );
break;
case "resend" :
$sql = "SELECT * from SMS where SMS_ID=".$_REQUEST['sms_id'];
$res = exequery( $connection, $sql );
if ( $row = mysql_fetch_array( $res ) )
{
$TO_ID = $row['TO_ID'];
$CONTENT = $row['CONTENT'];
}
send_sms( $connection, $LOGIN_USER_ID, $TO_ID, 0, $CONTENT );
}
header( "location:search_sms.php?&keyword=".$_REQUEST['keyword']."&orderbydesc=".$_REQUEST['orderbydesc']."&orderbyname=".$_REQUEST['orderbyname']."&cur_page=".$cur_page );
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -