login  Naam:   Wachtwoord: 
Registreer je!
 Forum

Laad niet in FF

Offline micasa001 - 04/08/2007 10:29
Avatar van micasa001PHP interesse Ik heb een script en ik dacht dat alles gewoon werkt, tot ik het bekeek in FF en daarin wordt dit script niet geladen ( IE werkt wel )

Wie weet hoe dit is op te lossen? ( excuses voor het posten van het gehele script maar zelf weet ik niet waar de fout zou moeten zitten:

  1. <?php
  2. include("../../config.php");
  3.  
  4. if(!$data){
  5. $getal = mt_rand(1,2000);
  6. $user = "Crimineel{$getal}";
  7. } else {
  8. $user = $data->login;
  9. }
  10.  
  11. ?>
  12.  
  13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  14. <html xmlns="http://www.w3.org/1999/xhtml">
  15.  
  16. <html><head><script language=JavaScript>
  17. var message="Sorry, vanwege de beveiliging is de rechtermuisknop uitgeschakeld.Selecteer het gedeelte dat je nodigt hebt en gebruik ctrl+c om te kopieeren en ctrl+v om te plakken";
  18. function clickIE4(){
  19. if (event.button==2){
  20. alert(message);
  21. return false;
  22. }
  23. }
  24.  
  25. function clickNS4(e){
  26. if (document.layers||document.getElementById&&!document.all){
  27. if (e.which==2||e.which==3){
  28. alert(message);
  29. return false;
  30. }
  31. }
  32. }
  33.  
  34. if (document.layers){
  35. document.captureEvents(Event.MOUSEDOWN);
  36. document.onmousedown=clickNS4;
  37. }
  38. else if (document.all&&!document.getElementById){
  39. document.onmousedown=clickIE4;
  40. }
  41.  
  42. document.oncontextmenu=new Function("alert(message);return false")
  43. </script></head><head>
  44.  
  45.  
  46.  
  47. <style type="text/css">
  48. body {
  49. margin-left: 0px;
  50. margin-top: 0px;
  51. margin-right: 0px;
  52. margin-bottom: 0px;
  53. background-color: #2a1a0f;
  54. }
  55. body,td,th {
  56. font-family: Verdana, Arial, Helvetica, sans-serif;
  57. font-size: 10px;
  58. }
  59. body {
  60. margin-left: 0px;
  61. margin-top: 0px;
  62. margin-right: 0px;
  63. margin-bottom: 0px;
  64. background-color: #2a1a0f;
  65. }
  66. .style1 {color: #975F2C}
  67. .style2 { color: #BA5304;
  68. font-size: 12px;
  69. font-weight: bold;
  70. }
  71. a:hover {
  72. color: #C0C0C0;
  73. text-decoration: underline;
  74. }
  75. a:link, a:active, a:visited {
  76. color: #C0C0C0;
  77. text-decoration: none}
  78. a:hover {
  79. color: #C0C0C0;
  80. text-decoration: underline;
  81. }
  82. </style>
  83.  
  84. <script type="text/javascript">
  85.  
  86. var currenttime = 'March 17, 2007 20:19:56'
  87. var serverdate=new Date(currenttime)
  88.  
  89. function padlength(what){
  90. var output=(what.toString().length==1)? "0"+what : what
  91. return output
  92. }
  93.  
  94. function displaytime(){
  95. serverdate.setSeconds(serverdate.getSeconds()+1)
  96. var
  97. timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds())
  98. document.getElementById("servertime").innerHTML=timestring
  99. }
  100.  
  101. window.onload=function(){
  102. setInterval("displaytime()", 1000)
  103. }
  104.  
  105. </script>
  106. </head>
  107.  
  108. <body>
  109. <table width="338" height="77" border="0" cellpadding="0" cellspacing="0" align=left>
  110.  
  111.  
  112. <script type="text/javascript">
  113.  
  114. var currenttime = 'August 03, 2007 15:11:58'
  115. var serverdate=new Date(currenttime)
  116.  
  117. function padlength(what){
  118. var output=(what.toString().length==1)? "0"+what : what
  119. return output
  120. }
  121.  
  122. function displaytime(){
  123. serverdate.setSeconds(serverdate.getSeconds()+1)
  124. var
  125. timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds())
  126. document.getElementById("servertime").innerHTML=timestring
  127. }
  128.  
  129. window.onload=function(){
  130. setInterval("displaytime()", 1000)
  131. }
  132.  
  133. </script>
  134.  
  135. <?php
  136.  
  137. if($data){
  138.  
  139. ?>
  140.  
  141. <meta http-equiv="REFRESH" content="60" URL="left.php">
  142.  
  143. <tr>
  144. <td width="110"><font color="#C0C0C0">
  145. <b><img border="0" SRC="icons/book_open.jpg" width="16" height="16"> <a HREF="../../algemeen-help.php" target=mainFrame>Help</a></b></font></td>
  146. <td width="110">
  147. <font color="#C0C0C0">
  148. <img border="0" SRC="icons/sleutel.jpg" width="16" height="16">
  149. </font>
  150. <b><font color="#C0C0C0"><a HREF="../../speler-instellingen.php" target=mainFrame>Instellingen</a></font></b></td>
  151. <td width="118"><font color="#C0C0C0"><img border="0" SRC="icons/crimineeltje.jpg" width="16" height="16"></font><b><font color="#C0C0C0">
  152. <a HREF="../../algemeen-intranet.php" target=mainFrame>Intranet</a></font></b></td>
  153. </tr>
  154. <tr>
  155. <td><b><font color="#C0C0C0">
  156. <img border="0" SRC="icons/chart_pie.jpg" width="16" height="16">
  157. <a HREF="../../algemeen-stats-systeem-login.php" target=mainFrame>Statistieken</a></font></b></td>
  158. <td><font color="#C0C0C0"><img border="0" SRC="icons/nc.gif" width="16" height="16">
  159. </font> <b>
  160. <font color="#C0C0C0"><a HREF="../../algemeen-links.php" target=mainFrame>Promotie</a></font></b></td>
  161. <td><font color="#C0C0C0"><img border="0" SRC="icons/hulp.gif" width="16" height="16">
  162. </font> <b>
  163. <font color="#C0C0C0"><a HREF="../../algemeen-vip.php" target=mainFrame><b>VIP Shop</b></a></font></b></td>
  164. </tr>
  165. <tr>
  166. <td><font color="#C0C0C0"><img border="0" SRC="icons/world.jpg" width="16" height="16"></font><b><font color="#C0C0C0">
  167. <a HREF="../../algemeen-destad.php" target=mainFrame><?php echo $data->land; ?></a><span style="font-size: 7pt"></span></font></b></td>
  168. <td><font color="#C0C0C0"><img border="0" SRC="icons/book_open.jpg" width="16" height="16"></font><b><font color="#C0C0C0">
  169. <a HREF="../../internet-forum.php" target=mainFrame>Forum</a></font></b></td>
  170. <td><font color="#C0C0C0"><img border="0" SRC="icons/klik.gif" width="16" height="16"></font><b><font color="#C0C0C0">
  171. <span id="servertime"></span></font></b></td>
  172. </tr></table>
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180. <?php
  181.  
  182. } else {
  183.  
  184. $dbres = mysql_query("SELECT * FROM `gebruiker`");
  185. $signups = mysql_num_rows($dbres);
  186.  
  187. $dbres = mysql_query("SELECT * FROM `gebruiker` WHERE (UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300)");
  188. $online = mysql_num_rows($dbres);
  189.  
  190. ?>
  191.  
  192. <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  193. <tr>
  194. <td width="20" height="15" class="menu_cell_10px">&nbsp;</td>
  195. <td height="15" class="menu_cell_10px">&nbsp;</td>
  196. <td height="15" class="menu_cell_10px">&nbsp;</td>
  197. <td height="15" class="menu_cell_10px">&nbsp;</td>
  198. </tr>
  199. <tr>
  200. <td width="20">&nbsp;</td>
  201. <td valign="middle" class="menu_cell_normal">
  202. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  203. <tr>
  204. <td width="25"><img src="icons/book_open.jpg" width="20" height="20" /></td>
  205. <td><a href="../../algemeen-help.php" target="mainFrame">Meer informatie</a> </td>
  206. </tr>
  207. </table>
  208. </td>
  209. <td>
  210. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  211. <tr>
  212. <td width="25"><img src="icons/crimineeltje.jpg" width="20" height="20" /></td>
  213. <td><a href="../../algemeen-stats-criminelen-login.php" target="mainFrame">Actieve criminelen</a></td>
  214. </tr>
  215. </table>
  216. </td>
  217. <td>
  218. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  219. <tr>
  220. <td width="25">&nbsp;</td>
  221. <td>&nbsp;</td>
  222. </tr>
  223. </table>
  224. </td>
  225. </tr>
  226. <tr>
  227. <td width="20">&nbsp;</td>
  228. <td valign="middle" class="menu_cell_normal">
  229. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  230. <tr>
  231. <td width="25"><img src="icons/chart_pie.jpg" width="20" height="20" /></td>
  232. <td><a href="../../algemeen-stats-systeem-login.php" target="mainFrame">Statistieken</a></td>
  233. </tr>
  234. </table>
  235. </td>
  236. <td >
  237. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  238. <tr>
  239. <td width="25"><img src="icons/profiel.jpg" width="20" height="20" /></td>
  240. <td><font color="#CC6600"><?php echo $online; ?> online, <?php echo $signups; ?> members</font></td>
  241. </tr>
  242. </table>
  243. </td>
  244. <td>
  245. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  246. <tr>
  247. <td width="25">&nbsp;</td>
  248. <td>&nbsp;</td>
  249. </tr>
  250. </table>
  251. </td>
  252. </tr>
  253. <tr>
  254. <td width="20">&nbsp;</td>
  255. <td valign="middle" class="menu_cell_normal">
  256. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  257. <tr>
  258. <td width="25"><img src="icons/sleutel.jpg" width="20" height="20" /></td>
  259. <td><a href="../../algemeen-signup.php" target="mainFrame"><strong>Meld je nu aan!</strong></a> </td>
  260. </tr>
  261. </table>
  262. </td>
  263. <td valign="middle" class="menu_cell_normal">
  264. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  265. <tr>
  266. <td width="25"></td>
  267. <td></td>
  268. </tr>
  269. </table>
  270. </td>
  271. <td>
  272. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  273. <tr>
  274. <td width="25">&nbsp;</td>
  275. <td>&nbsp;</td>
  276. </tr>
  277. </table>
  278. </td>
  279. </tr>
  280. <tr>
  281. <td width="20" height="20">&nbsp;</td>
  282. <td>&nbsp;</td>
  283. <td height="20">&nbsp;</td>
  284. <td height="20">&nbsp;</td>
  285. </tr>
  286. </table>
  287.  
  288. <?php
  289.  
  290. }
  291.  
  292. ?>
  293.  
  294. </td>
  295. </tr>
  296. </table>
  297. </body>
  298. </html>

1 antwoord

Gesponsorde links
Offline kilian - 04/08/2007 10:46 (laatste wijziging 04/08/2007 10:46)
Avatar van kilian Lid Je kan volledige scripts posten op plaatscode.be  
Gesponsorde links
Dit onderwerp is gesloten.
Actieve forumberichten
© 2002-2024 Sitemasters.be - Regels - Laadtijd: 0.206s