}
 if (!empty($_POST['digest'])) {
     $blockcodearr[] = 'digest/' . implode(',', $_POST['digest']);
 }
 if (!empty($_POST['lastpost'])) {
     $blockcodearr[] = 'lastpost/' . $_POST['lastpost'];
 }
 $_POST['uid'] = getdotstring($_POST['uid'], 'int');
 if (!empty($_POST['uid'])) {
     $blockcodearr[] = 'uid/' . $_POST['uid'];
 }
 $scopestring = getscopestring('viewnum', $_POST['viewnum']);
 if ($scopestring) {
     $blockcodearr[] = $scopestring;
 }
 $scopestring = getscopestring('replynum', $_POST['replynum']);
 if ($scopestring) {
     $blockcodearr[] = $scopestring;
 }
 $orderarr = array();
 if ($_POST['order']) {
     foreach ($_POST['order'] as $okey => $order) {
         if (!empty($order)) {
             $sc = $_POST['sc'][$okey];
             if (!empty($sc)) {
                 $sc = ' ' . $sc;
             }
             $orderarr[] = $order . $sc;
         }
     }
 }
     $_POST['uid'] = getdotstring($_POST['uid'], 'int');
     if (!empty($_POST['uid'])) {
         $blockcodearr[] = 'uid/' . $_POST['uid'];
     }
     if (!empty($_POST['dateline'])) {
         $blockcodearr[] = 'dateline/' . $_POST['dateline'];
     }
     $scopestring = getscopestring('viewnum', $_POST['viewnum']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('replaynum', $_POST['replaynum']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('tracenum', $_POST['tracenum']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
 }
 $orderarr = array();
 if ($_POST['order']) {
     foreach ($_POST['order'] as $okey => $order) {
         if (!empty($order)) {
             $sc = $_POST['sc'][$okey];
             if (!empty($sc)) {
                 $sc = ' ' . $sc;
             }
             $orderarr[] = $order . $sc;
         }
     }
Exemplo n.º 3
0
 if (!empty($_POST['uid'])) {
     $blockcodearr[] = 'uid/' . $_POST['uid'];
 }
 $scopestring = getscopestring('viewnum', $_POST['viewnum']);
 if ($scopestring) {
     $blockcodearr[] = $scopestring;
 }
 $scopestring = getscopestring('replynum', $_POST['replynum']);
 if ($scopestring) {
     $blockcodearr[] = $scopestring;
 }
 $scopestring = getscopestring('goodrate', $_POST['goodrate']);
 if ($scopestring) {
     $blockcodearr[] = $scopestring;
 }
 $scopestring = getscopestring('badrate', $_POST['badrate']);
 if ($scopestring) {
     $blockcodearr[] = $scopestring;
 }
 $orderarr = array();
 if ($_POST['order']) {
     foreach ($_POST['order'] as $okey => $order) {
         if (!empty($order)) {
             $sc = $_POST['sc'][$okey];
             if (!empty($sc)) {
                 $sc = ' ' . $sc;
             }
             $orderarr[] = $order . $sc;
         }
     }
 }
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('t_price', $_POST['t_price']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('t_views', $_POST['t_views']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('t_replies', $_POST['t_replies']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('t_rate', $_POST['t_rate']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     if (!empty($_POST['t_digest'])) {
         $blockcodearr[] = 't_digest/' . implode(',', $_POST['t_digest']);
     }
     if ($_POST['t_blog']) {
         $blockcodearr[] = 't_blog/1';
     }
     if ($_POST['t_closed']) {
         $blockcodearr[] = 't_closed/1';
     }
 }
 $orderarr = array();
 if ($_POST['order']) {
 }
 $scopestring = getscopestring('replynum', $_POST['replynum']);
 if ($scopestring) {
     $blockcodearr[] = $scopestring;
 }
 $scopestring = getscopestring('hot', $_POST['hot']);
 if ($scopestring) {
     $blockcodearr[] = $scopestring;
 }
 @(include_once S_ROOT . '/data/system/click.cache.php');
 $clickgroupids = array_keys($_SGLOBAL['clickgroup']['spaceitems']);
 foreach ($_SGLOBAL['click'] as $key => $kvalue) {
     if (in_array($key, $clickgroupids)) {
         foreach ($kvalue as $value) {
             if (!is_int($value['name'])) {
                 $scopestring = getscopestring('click_' . $value['clickid'], $_POST['click_' . $value['clickid']]);
                 if ($scopestring) {
                     $blockcodearr[] = $scopestring;
                 }
             }
         }
     }
 }
 if (!empty($_POST['digest'])) {
     $blockcodearr[] = 'digest/' . implode(',', $_POST['digest']);
 }
 if (!empty($_POST['top'])) {
     $blockcodearr[] = 'top/' . implode(',', $_POST['top']);
 }
 $_POST['haveattach'] = getdotstring($_POST['haveattach'], 'int');
 if (!empty($_POST['haveattach'])) {
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('credits5', $_POST['credits5']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('credits6', $_POST['credits6']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('credits7', $_POST['credits7']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('credits8', $_POST['credits8']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
 }
 $orderarr = array();
 if ($_POST['order']) {
     foreach ($_POST['order'] as $okey => $order) {
         if (!empty($order)) {
             $sc = $_POST['sc'][$okey];
             if (!empty($sc)) {
                 $sc = ' ' . $sc;
             }
             $orderarr[] = $order . $sc;
         }
     }
Exemplo n.º 7
0
     }
 } else {
     if (!empty($_POST['avatar'])) {
         $blockcodearr[] = 'avatar/' . $_POST['avatar'];
     }
     if (!empty($_POST['dateline'])) {
         $blockcodearr[] = 'dateline/' . $_POST['dateline'];
     }
     if (!empty($_POST['updatetime'])) {
         $blockcodearr[] = 'updatetime/' . $_POST['updatetime'];
     }
     $scopestring = getscopestring('viewnum', $_POST['viewnum']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('friendnum', $_POST['friendnum']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
 }
 $orderarr = array();
 if ($_POST['order']) {
     foreach ($_POST['order'] as $okey => $order) {
         if (!empty($order)) {
             $sc = $_POST['sc'][$okey];
             if (!empty($sc)) {
                 $sc = ' ' . $sc;
             }
             $orderarr[] = $order . $sc;
         }
     }
     }
     @(include_once S_ROOT . '/data/system/click.cache.php');
     $clickgroupids = array_keys($_SGLOBAL['clickgroup']['spaceitems']);
     foreach ($_SGLOBAL['click'] as $key => $kvalue) {
         if (in_array($key, $clickgroupids)) {
             foreach ($kvalue as $value) {
                 if (!is_int($value['name'])) {
                     $scopestring = getscopestring('click_' . $value['clickid'], $_POST['click_' . $value['clickid']]);
                     if ($scopestring) {
                         $blockcodearr[] = $scopestring;
                     }
                 }
             }
         }
     }
     $scopestring = getscopestring('hot', $_POST['hot']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
 }
 $orderarr = array();
 if ($_POST['order']) {
     foreach ($_POST['order'] as $okey => $order) {
         if (!empty($order)) {
             $sc = $_POST['sc'][$okey];
             if (!empty($sc)) {
                 $sc = ' ' . $sc;
             }
             $orderarr[] = $order . $sc;
         }
     }
         if ($_POST['fup'] != '') {
             $blockcodearr[] = 'fup/' . $_POST['fup'];
         }
     }
     if (!empty($_POST['type'])) {
         $blockcodearr[] = 'type/' . implode(',', $_POST['type']);
     }
     $scopestring = getscopestring('threads', $_POST['threads']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('posts', $_POST['posts']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     $scopestring = getscopestring('todayposts', $_POST['todayposts']);
     if ($scopestring) {
         $blockcodearr[] = $scopestring;
     }
     if ($_POST['allowblog']) {
         $blockcodearr[] = 'allowblog/1';
     }
     if ($_POST['allowtrade']) {
         $blockcodearr[] = 'allowtrade/1';
     }
 }
 $orderarr = array();
 if ($_POST['order']) {
     foreach ($_POST['order'] as $okey => $order) {
         if (!empty($order)) {
             $sc = $_POST['sc'][$okey];