本文整理汇总了PHP中cache_check函数的典型用法代码示例。如果您正苦于以下问题:PHP cache_check函数的具体用法?PHP cache_check怎么用?PHP cache_check使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了cache_check函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: cache_check
<td>En Fazla - (bos) Oy'a Sahip Yazarlar:</td>
<p>
<?php
echo "<table border='0'>";
$cachetime = 60 * 12 * 60;
include "cache.php";
cache_check('enfazlabos');
$sorgu = mysql_query("select entry_sahibi,count(id) as sayi from oylar where oy='0' group by entry_sahibi order by sayi desc limit 10");
while ($oku = mysql_fetch_array($sorgu)) {
echo "\n <tr>\n <td><a href='sozluk.php?process=word&q={$oku['entry_sahibi']}' target=main>{$oku['entry_sahibi']}</a> : {$oku['sayi']} oy</td>\n </tr>\n ";
}
echo "</table>";
?>
<?
cache_save('enfazlabos');
?>
示例2: cache_check
<?
$cachetime = (60*12) * 60;
include "cache.php";
cache_check('endaginik');
?>
En daðýnýk, en üþengeç, en pasaklý yazarlar:
<table border="0">
<?php
$sorgu = mysql_query("select kime,count(id) as sayi from privmsg group by kime order by sayi desc limit 10");
while ($oku = mysql_fetch_array($sorgu)) {
echo "\n <tr>\n <td>{$oku['kime']} - {$oku['sayi']}</td>\n </tr>\n ";
}
?>
</table>
<?
cache_save('endaginik');
?>
示例3: cache_check
<?
$cachetime = (5*60);
include "cache.php";
cache_check('onlinespanel');
?>
<META http-equiv=Content-Type content="text/html; charset=windows-1254"><LINK href="css/default/default.css" type=text/css rel=stylesheet>
<SCRIPT language=javascript src="sozluk.js"></SCRIPT>
</HEAD>
<BODY>
<?
if ($statu) {
if ($statu != "disarida" and $statu != "mesgul" and $statu != "yemekte" and $statu != "iceride") {
die;
}
else {
$snerde = $statu;
session_register("snerde");
}
}
$snerde = $_SESSION['snerde'];
$listele = mysql_query("SELECT okundu,id FROM privmsg WHERE `kime`='$verified_user'");
while ($kayit=mysql_fetch_array($listele)) {
$okundu=$kayit["okundu"];
$id=$kayit["id"];
if ($okundu != 0) {
$okunmayan++;
}
if ($okundu == 2) {
示例4: cache_check
<td></td>
<p>
<?php
echo "<table border='0'>";
$cachetime = 60 * 12 * 60;
include "cache.php";
cache_check('encokokunan');
$sorgu = mysql_query("select baslik, (hit) as sayi from konucuklar group by baslik order by sayi desc limit 10");
while ($oku = mysql_fetch_array($sorgu)) {
echo "\n <tr>\n <td><a href='{$oku['baslik']}.html' target=main>{$oku['baslik']}</a> - {$oku['sayi']} Okuma</td>\n </tr>\n ";
}
?>
<?
cache_save('encokokunan');
?>
</table>
示例5: Yazarlar
<td>En Faz + (hos) Oyu Veren Yazarlar (Cömertler): </td>
<p>
<?php
echo "<table border='0'>";
$cachetime = 60 * 12 * 60;
include "cache.php";
cache_check('enfazlahosveren');
$sorgu = mysql_query("select nick,count(id) as sayi from oylar where oy='1' group by nick order by sayi desc limit 10");
while ($oku = mysql_fetch_array($sorgu)) {
echo "\n <tr>\n<td><a href='sozluk.php?process=word&q={$oku['nick']}' target=main>{$oku['nick']}</a> : {$oku['sayi']} oy</td>\n </tr>\n ";
}
echo "</table>";
?>
<?
cache_save('enfazlahosveren');
?>
示例6: cache_check
<?
$cachetime = (60*12) * 60;
include "cache.php";
cache_check('yazarayx');
?>
<table border="0" width="60%">
<?
$sorgu=mysql_query("select entry_sahibi,count(id) as sayi from oylar where oy='1' group by entry_sahibi order by sayý desc limit 0,10");
$toplam=mysql_num_rows(mysql_query("select entry_sahibi from oylar "));
?>
<tr>
<td nowrap>toplam</td><td nowrap width="100%"><div class=highlight style='text-align:right; width:100%'><?php
echo $toplam;
?>
</td>
</tr>
<?
$say=0;
while ($oku=mysql_fetch_array($sorgu)) {
$say++;
$oran=$toplam/$oku['sayi'];
$yoran=100/$oran;
$kes=substr($yoran,0,1);
echo "<tr>
<td nowrap>$say. <a href='sozluk.php?process=word&q=$oku[entry_sahibi]' target=main>$oku[entry_sahibi]</a></td><td nowrap width='100%'><div class=highlight style='text-align:right; width:$kes%'>$oku[sayi]</td>
<td>";
}
?>
</table>
<?
示例7: cache_check
<?
$cachetime = (60*12) * 60;
include "cache.php";
cache_check('bugunyazan');
?>
<td>Günün çalýþkan yazarlarý:</td>
<p>
<table border="0" width="100%">
<?
$bugun=date("d");
$ay=date("m");
$yil=date("Y");
$sorgu=mysql_query("select yazar,count(id) as sayi from mesajciklar gun='$bugun' and ay='$ay' and yil='$yil' group by yazar order by sayi desc limit 10");
while ($oku=mysql_fetch_array($sorgu)) {
echo "
<tr>
<td>$oku[yazar] - $oku[sayi]</td>
</tr>
";
}
?>
<?
cache_save('bugunyazan');
?>
示例8: cache_check
<?
$cachetime = (60*12) * 60;
include "cache.php";
cache_check('satatukuz');
?>
<?php
echo "<table border='0'>";
$sorgu = mysql_query("select baslik,count(id) as sayi from konular by sayi desc limit 10");
while ($oku = mysql_fetch_array($sorgu)) {
echo "\n <tr>\n <td>{$oku['baslik']} - {$oku['sayi']} statu</td>\n </tr>\n ";
}
echo "</table>";
?>
<?
cache_save('satatukuz');
?>
示例9: cache_check
<?
$cachetime = (60*12) * 60;
include "cache.php";
cache_check('encokentrykasan');
?>
sözlükte 10 kaplan gücünde olan, klavyelerinin tuþlarý okunmayan yazarlar:<p>
<table border="0" width="60%">
<?
$sorgu=mysql_query("select yazar,count(id) as sayi from mesajciklar group by yazar order by sayi desc limit 0,15");
$toplam=mysql_num_rows(mysql_query("select id from mesajciklar"));
?>
<tr>
<td nowrap>toplam</td><td nowrap width="100%"><div class=highlight style='text-align:right; width:100%'><?php
echo $toplam;
?>
</td>
</tr>
<?
$say=0;
while ($oku=mysql_fetch_array($sorgu)) {
$say++;
$oran=$toplam/$oku['sayi'];
$yoran=70/$oran;
$kes=substr($yoran,0,1);
echo "<tr>
<td nowrap>$say. <a href='sozluk.php?process=word&q=$oku[yazar]' target=main>$oku[yazar]</a></td><td nowrap width='100%'><div class=highlight style='text-align:right; width:$kes%'>$oku[sayi]</td>
<td>";
}
?>
</table>
<?
示例10: cache_check
<?
$cachetime = (60*12) * 60;
include "cache.php";
cache_check('enfazlaukde');
?>
<small>utanmadan!</small>en fazla ukde verenler:
<table border="0">
<?php
$sorgu = mysql_query("select yazar,count(id) as sayi from ukde group by yazar order by sayi desc limit 10");
while ($oku = mysql_fetch_array($sorgu)) {
echo "<tr>\n <td>{$say}. <a href='sozluk.php?process=word&q={$oku['yazar']}' tarhet=main>{$oku['yazar']}</a> - {$oku['sayi']}</td>\n <td>";
}
?>
</table>
<?
cache_save('enfazlaukde');
?>
示例11: cache_check
<?
$cachetime = (60*12) * 60;
include "cache.php";
cache_check('encokultema');
?>
En fazla asindirilan temalar:<p>
<?
$sorgu1 = "SELECT * FROM temalar";
$sorgu2 = mysql_query($sorgu1);
echo "<table align=center width=200 border=0 cellSpacing=0 cellPadding=0>";
while ($oku=mysql_fetch_array($sorgu2)) {
$tsrg=mysql_query("select * from user where tema='$oku[tema]'");
$kactsrg=@mysql_num_rows($tsrg);
?>
<tr>
<td><a href="sozluk.php?process=word&q=<?php
echo $oku[tema];
?>
" target="main"><?php
echo $oku[tema];
?>
</a></td>
<td><?php
echo $kactsrg;
?>
</td>
</tr>
<?
}
示例12: cache_check
<?
$cachetime = (60*12) * 60;
include "cache.php";
cache_check('encokgun');
?>
<?
echo "<table border='0'>";
$sorgu=mysql_query("select gun,ay,yil,count(id) as say from mesajciklar group by gun,ay,yil order by say desc limit 0,10");
while ($oku=mysql_fetch_array($sorgu)) {
echo "<tr><td><b>Tarih:</b>$oku[gun].$oku[ay].$oku[yil]</td><td><b>Entry Sayisi:</b>$oku[say]</td>
</tr>";
}
echo "</table>";
?>
<?
cache_save('encokgun');
?>
示例13: cache_check
<?
$cachetime = (60*12) * 60;
include "cache.php";
cache_check('toplantisehirx');
?>
<td width="100%"> yazarlar hangi þehirlerde toplaþmýþ, toplantý yapmasý muhtemel yazarlar</td><p>
<table border="0" width="100%">
<?
$sorgu=mysql_query("select sehir,count(id) as sayi from user group by sehir order by sayi desc limit 0,10");
$toplam=mysql_num_rows(mysql_query("select id from user"));
?>
<?
$say=0;
while ($oku=mysql_fetch_array($sorgu)) {
$say++;
$oran=$toplam/$oku['sayi'];
$yoran=100/$oran;
echo "<tr>
<td>$say. <a href='sozluk.php?process=word&q=$oku[sehir]' target=main>$oku[sehir]</a>($oku[sayi])</td>
<td>";
}
?>
</table>
<?
cache_save('toplantisehirx');
?>
示例14: cache_check
<?
$cachetime = (1*5);
include "cache.php";
cache_check("hepsi".$_GET[sayfa]);
?>
<?
if ((isset($_GET["sayfa"])) && ($_GET["sayfa"] <= "0")) {
echo "vaaay akilli!!!";
die();
}
include "hayvanara.php";
if ($verified_user) {
$osorgu=mysql_query("select * from online where nick='$verified_user'");
$ono=@mysql_num_rows($osorgu);
$oip = getenv('REMOTE_ADDR');
if ($ono==0) {
$zaman=time();
mysql_query("insert into online values('$verified_user','$zaman','$oip','on')");
} else if ($ono>=2) {
mysql_query("delete from online where nick='$verified_user'");
}
}
?>
<STYLE TYPE="text/css">
BODY
{
scrollbar-base-color: orange;
scrollbar-arrow-color: green;
scrollbar-DarkShadow-Color: blue;
}
</STYLE>
示例15: cache_check
<?
$cachetime = (30*60) * 1;
include "cache.php";
cache_check('bugungelenler');
?>
<td>Bugün bu bataga düþenler</td>
<p>
<table border="0" width="100%">
<?php
$today = date("Y/m/d");
$sorgu = mysql_query("select nick from user where regtarih='{$today}%' group by nick desc limit 10");
while ($oku = mysql_fetch_array($sorgu)) {
echo "<tr>\n <td><a href='sozluk.php?process=word&q={$oku['nick']}' tarhet=main>{$oku['nick']}</a></td>\n <td>";
}
?>
<?
cache_save('bugungelenler');
?>