Warning: Table './at_blogali3/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '在 <em>/web5/bking.tw/modules/filter/filter.module</em> 的第 <em>1206</em> 行: <em>Function split() is deprecated</em> 。', 2, '', 'http://blog.ali3.tw/stats', '', '3.80.128.196', 1555763581) in /web5/bking.tw/includes/database.mysqli.inc on line 156 Warning: Table './at_blogali3/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '在 <em>/web5/bking.tw/modules/filter/filter.module</em> 的第 <em>1206</em> 行: <em>Function split() is deprecated</em> 。', 2, '', 'http://blog.ali3.tw/stats', '', '3.80.128.196', 1555763581) in /web5/bking.tw/includes/database.mysqli.inc on line 156 Sites Stats | 阿里山情報販子

Sites Stats

kml 的照片

<?php
global $user;
print l("My Blog", "blog/" . $user->uid);
?>

<?php
$day = 02;
$month = 11;
$year = 2005;
$age= ((int)((mktime (0,0,0,$month,$day,$year) - time(void))/86400) * -1 );
print ("本站已開台: " . $age . "天");
?>
...Visitor from Nov 2005
<?php
$header = array ('Users', 'Posts');
$rows = array();
$q = "SELECT u.name, u.uid, count(DISTINCT c.cid)+count(DISTINCT n.nid) AS posts FROM users u LEFT JOIN {node} n ON u.uid=n.uid LEFT JOIN {comments} c ON u.uid=c.uid WHERE u.name!='' GROUP BY u.name HAVING posts>0 ORDER BY posts DESC LIMIT 100";
if($result = db_query($q)) {
while ( $row = db_fetch_object ( $result ) ) {
$user_link = "uid."'>".$row->name."";
$rows[] = array ( 'data' => array ( $user_link, $row->posts )) ;
}
}
if (!$rows) {
$rows[] = array(array('data' => t('No comments available.'), 'colspan' => 2));
}
print theme('table', $header, $rows);
?>

<?php
$uptime = shell_exec("cut -d. -f1 /proc/uptime");
$loadavg_array = explode(" ", exec("cat /proc/loadavg"));
$days = floor($uptime/60/60/24);
$hours = $uptime/60/60%24;
$mins = $uptime/60%60;
$secs = $uptime%60;
echo "This server has been up $days day(s) $hours hour(s) $mins minute(s) and $secs second(s)";
echo "Current server load:- 1m $loadavg_array[0]- 5m $loadavg_array[1]- 15m $loadavg_array[2]";
?>

<?php
global $user;
if (!$user->uid) {
// Change the following line's Login/Register text to whatever you want.
return l("Login/Register", "user/login");
} elseif ($user->uid) {
// The following line will display the username you are logged in as.
return 'Logged in as ' . $user->name . 'Logout';
}
?>

RSS feed RSS feed

2007 整合不同相簿至部落日誌,開放的影像部落格 PhotoBlogs、私有的投影部落格 SlideBlogs、及共享的國際氣象圖 WeatherBlogs 。More PhotoBlogs

Warning: Table './at_blogali3/watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '在 <em>/web5/bking.tw/includes/database.mysqli.inc</em> 的第 <em>156</em> 行: <em>Table &amp;#039;./at_blogali3/sessions&amp;#039; is marked as crashed and should be repaired\nquery: UPDATE sessions SET uid = 0, cache = 0, hostname = &amp;#039;3.80.128.196&amp;#039;, session = &amp;#039;messages|a:1:{s:5:\\&amp;quot;error\\&amp;quot;;a:2:{i:0;s:93:\\&amp;quot;: Function split() is deprecated in /web5/bking.tw/modules/filter/filter.module on line 1206.\\&amp;quot;;i:1;s:93:\\&amp;quot;: Function split() is deprecated in /web5/bking.tw/modules/filter/filter.module on line 1206.\\&amp;quot;;}}&amp;#039;, timestamp = 1555763581 WHERE sid = &amp;#039;fuprcv19ovuos1lnh1hcbbrh03&amp;#039;</em> 。� in /web5/bking.tw/includes/database.mysqli.inc on line 156