did you know





PHPXRef 0.7 : NEABExplorer : /libs/did_you_know.php source









[ Index ]


PHP Cross Reference of NEABExplorer














if (gwGetCookie('xrefnav')=='off')
document.write('[ Show Explorer ]');
else
document.write('[ Hide Explorer ]');



[ Show Explorer ]
[ Hide Navbar ]





titleBody[close]
/libs/ -> did_you_know.php (source)

[Summary view]
[Print]
[Text view]


1 <?PHP
2 /**
3 * This code show a "Did you know" popup.
4 */
5
6 $r=$db->Execute("SELECT COUNT(USERID) FROM PLAYER_TIPS WHERE USERID = $userid AND TIPID = $didyouknow");
7 $nb=$r->fields[0]+0;
8 $r->Close();
9 if($nb == 0)
10 {
11 $db->Execute("INSERT INTO PLAYER_TIPS(USERID,TIPID) VALUES($userid,$didyouknow)");
12 echo "<DIV id='did_you_know' STYLE='overflow: auto; position: absolute; top:40; left:200; visibility: hidden; height: 300; width: 400; background-color: #FFFFFF; border: 1px solid #000000; padding:3px;font-size: 14px;'>";
13 echo "<TABLE BORDER=0 WIDTH=100% BGCOLOR=#000000><TR><TD WIDTH=90% ALIGN=CENTER><FONT COLOR=#FFFFFF><B>Did you know?</B></FONT></TD>";
14 echo "<TD><A HREF=# OnClick='document.getElementById(\"did_you_know\").style.visibility=\"hidden\";return false;'><IMG SRC=images/black_close.gif BORDER=0></A></TD></TR></TABLE>\n";
15 echo "<DIV ALIGN=CENTER><IMG SRC=images/did_you_know.gif></DIV><BR>\n";
16 $r=$db->Execute("SELECT INFO FROM DIDYOUKNOW WHERE ID = $didyouknow");
17 echo $r->fields[0]."<BR><BR>\n";
18 $r->Close();
19 echo "<DIV ALIGN=CENTER>[<A HREF=# OnClick='document.getElementById(\"did_you_know\").style.visibility=\"hidden\";return false;'>Close</A>]</DIV>\n";
20 echo "</DIV>\n";
21
22 echo "<SCRIPT>\n";
23 echo "setTimeout('document.getElementById(\"did_you_know\").style.visibility=\"visible\";',1500);\n";
24 echo "</SCRIPT>\n";
25 }
26 ?>



FUNC_DATA={
'close': ['close', '', [['libs','db_conn_5.php',35],['libs','db_conn_5.php',87],['libs','db_conn_4.php',35],['libs','db_conn_4.php',87]], 380],
'execute': ['execute', '', [['libs','db_conn_5.php',37],['libs','db_conn_4.php',37]], 652],
'count': ['count', '', [], 113]};
CLASS_DATA={
};
CONST_DATA={
};

titleDescriptionBody
titleDescriptionBody
titleDescriptionBody
titleBody



Generated: Sun Jul 8 18:11:25 2007
Cross-referenced by PHPXref 0.7





Wyszukiwarka

Podobne podstrony:
did you know
did you know
Bell Book And?ndle ?by You Know
Bee Gees You Know It s For You
esperanza spalding i know you know tab
Don t you know
What Did You Do Yesterday
you know youre a child of the 60s ebook
Słyszeliście o Morganach Did You Hear About The Morgans (2009) Napisy Pl
Band ohne Namen Why Did You Lie
Before You Know Kindness
Barry Manilow Do You Know Who s Livin Next Door
Jamiroquai Do you know where you re coming from
you know youre a child of the 70s ebook
Before You Know Kindness 04

więcej podobnych podstron