📄 schmade.php
字号:
<?php
/*
+-------------------------------------------
|
| Technology of Wane netware
| ========================================
| Powered by wan-e.net inc
| (c) 2004 wane.net Power Services
| http://www.wan-e.net
| ========================================
| Web: http://www.wan-e.net
|
+-------------------------------------------
| Autohr : wsfuyibing
+-------------------------------------------
*/
$cache_file = $wane_root.'globals/cache/cache_searchm.php';
$cache_position = $wane_root.'globals/cache/cache_position_made.php';
if (!file_exists($cache_file) || !file_exists($cache_position))
{
unset($cache_file,$cache_position);
require $wane_root.'globals/class_cache.php';
$cache=new wanecache;
$cache->update_cache(array('position_made','searchm'));
echo 'Creating cache file.<BR>Please refresh the page.';
exit;
}
else
{
require $cache_file;
require $cache_position;
unset($cache_file,$cache_position);
eval($function->load_lang('schmade'));
}
eval($tpl->set_var(array(
'WEBTITLE' => $function->headtitle('['.$webtitle.'] | '.$LANG['SCHCATE']),
'NAVIGATA' => empty($mid) ? "<a class='navigata' href='{$default_url}index.php?action=idx'>$webtitle</a> $category_separate $LANG[SCHMADE]" : "<a class='navigata' href='{$default_url}index.php?action=idx'>$webtitle</a> $category_separate <a class='navigata' href='{$default_url}index.php?action=schmade'>$LANG[SCHMADE]</a>".stripslashes($cache_position_made['made_'.$mid]) ,
)));
if (empty($mid) || !is_numeric($mid) || $mid<1)
{
$curcid = '0';
$search_extent="";
}
else
{
$curcid = $mid;
$fids = "'".str_replace(",","','",$cache_searchm['search'.$curcid])."'";
$search_extent=" WHERE mid in ($fids)";
}
$query_class = $db->query("SELECT * FROM {$tablepre}made WHERE upmid='$curcid'");
$query_click = $db->query("SELECT * FROM {$tablepre}spinfo $search_extent order by click desc limit $num_schmade_click");
$page_count = array(
$num_schmade,"{$tablepre}spinfo","index.php?action=schmade&mid=$mid"," $search_extent"
);
require $wane_root.'globals/page_count.php';
$query=$db->query("select * from $page_count[1] $page_count[3] order by sid desc limit $offset,$show_count");
$numsps = 0;
$tplfiles = array('header','schmade','footer');
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -