 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http://wiki.sseuu.com/index.php?action=history&amp;feed=atom&amp;title=Order.inc.php.c</id>
		<title>Order.inc.php.c - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.sseuu.com/index.php?action=history&amp;feed=atom&amp;title=Order.inc.php.c"/>
		<link rel="alternate" type="text/html" href="http://wiki.sseuu.com/index.php?title=Order.inc.php.c&amp;action=history"/>
		<updated>2026-04-03T21:51:35Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wiki.sseuu.com/index.php?title=Order.inc.php.c&amp;diff=117724&amp;oldid=prev</id>
		<title>笑笑：创建页面，内容为“ &lt;?php if(submitcheck('clear')){     $r = C::t('#xigua_re#xgre_order')-&gt;clear_order();     if($r){         cpmsg(lang('plugin/xigua_re', 'clear_succeed'), &quot;action=pl...”</title>
		<link rel="alternate" type="text/html" href="http://wiki.sseuu.com/index.php?title=Order.inc.php.c&amp;diff=117724&amp;oldid=prev"/>
				<updated>2022-11-22T03:28:53Z</updated>
		
		<summary type="html">&lt;p&gt;创建页面，内容为“ &amp;lt;?php if(submitcheck(&amp;#039;clear&amp;#039;)){     $r = C::t(&amp;#039;#xigua_re#xgre_order&amp;#039;)-&amp;gt;clear_order();     if($r){         cpmsg(lang(&amp;#039;plugin/xigua_re&amp;#039;, &amp;#039;clear_succeed&amp;#039;), &amp;quot;action=pl...”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
if(submitcheck('clear')){&lt;br /&gt;
    $r = C::t('#xigua_re#xgre_order')-&amp;gt;clear_order();&lt;br /&gt;
    if($r){&lt;br /&gt;
        cpmsg(lang('plugin/xigua_re', 'clear_succeed'), &amp;quot;action=plugins&amp;amp;operation=config&amp;amp;do=$pluginid&amp;amp;identifier=xigua_re&amp;amp;pmod=order&amp;amp;page=&amp;quot;.$_GET['page'], 'succeed');&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
if(submitcheck('permsubmit')){&lt;br /&gt;
    $r = C::t('#xigua_re#xgre_order')-&amp;gt;delete_order($_GET['delete']);&lt;br /&gt;
    if($r){&lt;br /&gt;
        cpmsg(lang('plugin/xigua_re', 'delete_succeed'), &amp;quot;action=plugins&amp;amp;operation=config&amp;amp;do=$pluginid&amp;amp;identifier=xigua_re&amp;amp;pmod=order&amp;amp;page=&amp;quot;.$_GET['page'], 'succeed');&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
showformheader(&amp;quot;plugins&amp;amp;operation=config&amp;amp;do=$pluginid&amp;amp;identifier=xigua_re&amp;amp;pmod=order&amp;amp;page=&amp;quot;.$_GET['page']);&lt;br /&gt;
showtableheader(lang('plugin/xigua_re','dorder'));&lt;br /&gt;
showtablerow('class=&amp;quot;header&amp;quot;',array(),array(&lt;br /&gt;
    lang('plugin/xigua_re','del'),&lt;br /&gt;
    lang('plugin/xigua_re','orderid'),&lt;br /&gt;
    lang('plugin/xigua_re','wenzhangming'),&lt;br /&gt;
    lang('plugin/xigua_re','orderprice'),&lt;br /&gt;
    lang('plugin/xigua_re','shouxf'),&lt;br /&gt;
    lang('plugin/xigua_re','shouru'),&lt;br /&gt;
    lang('plugin/xigua_re','fuk'),&lt;br /&gt;
    lang('plugin/xigua_re','status'),&lt;br /&gt;
    lang('plugin/xigua_re','crts'),&lt;br /&gt;
    lang('plugin/xigua_re','upts'),&lt;br /&gt;
));&lt;br /&gt;
$page = max(1, intval(getgpc('page')));&lt;br /&gt;
$lpp   = 20;&lt;br /&gt;
$start_limit = ($page - 1) * $lpp;&lt;br /&gt;
$res = C::t('#xigua_re#xgre_order')-&amp;gt;fetch_all_bypage($start_limit, $lpp, &amp;quot; paystatus=&amp;quot;. table_xgre_order::PAYSUCCESS);&lt;br /&gt;
$icount = C::t('#xigua_re#xgre_order')-&amp;gt;fetch_count_bypage(&amp;quot; paystatus=&amp;quot;. table_xgre_order::PAYSUCCESS);&lt;br /&gt;
&lt;br /&gt;
foreach ($res as $v) {&lt;br /&gt;
    if($v['fromuid']){&lt;br /&gt;
        $uids[$v['fromuid']] = $v['fromuid'];&lt;br /&gt;
    }&lt;br /&gt;
    if($v['touid']){&lt;br /&gt;
        $uids[$v['touid']] = $v['touid'];&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
if($uids){&lt;br /&gt;
    $users = DB::fetch_all('SELECT uid,username FROM %t WHERE uid IN (%n)', array('common_member', $uids), 'uid');&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
foreach ($res as $re) {&lt;br /&gt;
    $re['getprice'] = $re['paystatus'] ? sprintf('%.2f', ($re['baseprice']-$re['getprice'])/100) : '-';&lt;br /&gt;
    $re['baseprice'] = sprintf('%.2f', $re['baseprice']/100);&lt;br /&gt;
&lt;br /&gt;
    showtablerow('', array(), array(&lt;br /&gt;
        &amp;quot;&amp;lt;input type='checkbox' class='checkbox' name='delete[]' value='{$re['order_id']}' /&amp;gt;&amp;quot;,&lt;br /&gt;
        $re['order_id'],&lt;br /&gt;
        &amp;quot;&amp;lt;a href='{$re['url']}' target='_blank'&amp;gt;{$re['subject']}&amp;lt;/a&amp;gt;&amp;quot;,&lt;br /&gt;
        $re['baseprice'],&lt;br /&gt;
        $re['getprice'],&lt;br /&gt;
        $users[$re['touid']] ?$users[$re['touid']]['username'] .' [ '.$re['touid'].' ] ': $re['toopenid'],&lt;br /&gt;
        $re['fromwx'] ? '&amp;lt;img style=&amp;quot;width:20px;height:20px;vertical-align:middle&amp;quot; src=&amp;quot;'.$re['fromwximg'].'&amp;quot;/&amp;gt; '.$re['fromwx'] : ($users[$re['fromuid']] ?$users[$re['fromuid']]['username'] .' [ '.$re['fromuid'].' ] ': ($re['fromopenid'] ? $re['fromopenid'] : lang('plugin/xigua_re','niming'))),&lt;br /&gt;
        $re['paystatus'] ? '&amp;lt;strong style=&amp;quot;color:forestgreen;&amp;quot;&amp;gt;'.(lang('plugin/xigua_re','yi')) .'&amp;lt;/strong&amp;gt;' : '&amp;lt;strong style=&amp;quot;color:orangered;&amp;quot;&amp;gt;'.(lang('plugin/xigua_re','wei')) .'&amp;lt;/strong&amp;gt;',&lt;br /&gt;
        date('m-d H:i:s', $re['crts']),&lt;br /&gt;
        $re['payupts'] ? date('m-d H:i:s', $re['payupts']) : '-',&lt;br /&gt;
    ));&lt;br /&gt;
}&lt;br /&gt;
$multipage = multi($icount, $lpp, $page, ADMINSCRIPT.&amp;quot;?action=plugins&amp;amp;operation=config&amp;amp;do=$pluginid&amp;amp;identifier=xigua_re&amp;amp;pmod=order&amp;amp;lpp=$lpp&amp;quot;, 0, 10);&lt;br /&gt;
showsubmit('permsubmit', 'submit', 'del', '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;clear&amp;quot; id=&amp;quot;clear&amp;quot; value=&amp;quot;0&amp;quot; /&amp;gt;&amp;lt;input type=&amp;quot;button&amp;quot; class=&amp;quot;btn&amp;quot; onclick=&amp;quot;$(\'clear\').value=1;$(\'cpform\').submit();&amp;quot; value=&amp;quot;'.(lang('plugin/xigua_re','qingli')) .'&amp;quot;&amp;gt;',$multipage);&lt;br /&gt;
showtablefooter();&lt;/div&gt;</summary>
		<author><name>笑笑</name></author>	</entry>

	</feed>