1 2 3 | Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/clients/client0/web5/web/airsoftev/include/includes/func/db/mysql.php on line 58 Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/clients/client0/web5/web/airsoftev/include/includes/func/db/mysql.php on line 58 Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/clients/client0/web5/web/airsoftev/include/includes/func/db/mysql.php on line 58 Fatal error: Call to a member function out() on a non-object in /var/www/clients/client0/web5/web/airsoftev/include/boxes/shbox.php on line 231 |
ist irgendwas bei dem neuen Webspace nicht richtig eingestellt?
Wäre für schnelle Hilfe sehr dankbar :/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 | <?php /* Script => ShBox 3.2.2 =>V1 © by NF-Projekt FIXED (V1.0) Entwickler => WDS NachtWolf / B.Masmann Seite/Sup. => http://www.nf-projekt.de / Kontakt => Webmaster@nf-projekt.de */ defined ( 'main' ) or die ( 'no direct access' ); include ( 'include/includes/js/shbox/shboxfunc.php' ); $abf = db_query( 'SELECT * FROM `prefix_shbox_config` WHERE id="1"' ); $conf = db_fetch_assoc( $abf ); $postname = escape( $_POST [ 'xname' ], 'string' ); $postnamex = '*GAST*' ; $tags = array ( '[img]' , '[url]' , '[IMG]' , '[URL]' , '[/img]' , '[/url]' , '[/IMG]' , '[/URL]' , '[COLOR]' , '[/COLOR]' , '[color]' , '[/color]' , 'http' , 'www' , '://' ); $posttxt = escape( $_POST [ 'xtxt' ], 'textarea' ); $posttxt = str_replace ( $tags , '' , escape( $_POST [xtxt], 'string' )); $posttxt = strip_tags ( $posttxt ); if (isset( $_POST [ 'subshbox' ])) { //Check Submit if ( $posttxt == '' ){ //Check leeres Textfeld } //CLT else { //CLT if ( loggedin() ) { //1 if ( isset( $_POST [ 'xtxt' ]) AND ! empty ( $_POST [ 'xdate' ]) AND ! empty ( $_POST [ 'xname' ]) AND ! empty ( $_POST [ 'xip' ]) ) { //2 db_query("INSERT INTO prefix_shoutbox (`nickname`, `textarea`) VALUES ( '".$postname."' , '".$posttxt."' )"); } //2 } //1 else { //3 $abfs = db_query( "SELECT id FROM prefix_user WHERE name = BINARY '" . $postname . "'" ); if (db_num_rows( $abfs ) > 0) { if ( $conf [ 'spam' ] == AN) { //4 if ( $_POST [ 'sz' ] == $_POST [ 'xspam' ]) { //5 if ( isset( $_POST [ 'xtxt' ]) AND ! empty ( $_POST [ 'xdate' ]) AND ! empty ( $_POST [ 'xname' ]) AND ! empty ( $_POST [ 'xip' ]) ) { //6 db_query("INSERT INTO prefix_shoutbox (`nickname`, `textarea`) VALUES ( '".$postnamex."' , '".$posttxt."' )"); } //6 } //5 } //4 else { //7 if ( isset( $_POST [ 'xtxt' ]) AND ! empty ( $_POST [ 'xdate' ]) AND ! empty ( $_POST [ 'xname' ]) AND ! empty ( $_POST [ 'xip' ]) ) { //8 db_query("INSERT INTO prefix_shoutbox (`nickname`, `textarea`) VALUES ( '".$postnamex."' , '".$posttxt."' )"); } //8 } //7 } else { if ( $conf [ 'spam' ] == AN) { //4 if (escape( $_POST [ 'sz' ], 'string' ) == escape( $_POST [ 'xspam' ], 'string' )) { //5 if ( isset( $_POST [ 'xtxt' ]) AND ! empty ( $_POST [ 'xname' ])) { //6 db_query("INSERT INTO prefix_shoutbox (`nickname`, `textarea`) VALUES ( '".$postname."' , '".$posttxt."' )"); } //6 } //5 } //4 else { //7 if ( isset( $_POST [ 'xtxt' ]) AND ! empty ( $_POST [ 'xname' ])) { //8 db_query("INSERT INTO prefix_shoutbox (`nickname`, `textarea`) VALUES ( '".$postname."' , '".$posttxt."' )"); } //8 } //7 } //3 } } } $ILCH_HEADER_ADDITIONS .= ' <link rel= "stylesheet" type= "text/css" href= "include/includes/js/shbox/shbox.css" > <script type= "text/javascript" charset= "utf-8" src= "include/includes/js/shbox/shbox.js" ></script> <script language= "JavaScript" type= "text/javascript" > window.onload = "fetch()" ; interval = window.setInterval( "fetch();" , '.$conf[' setinterval '].' ); </script> '; $datum = date ( "$conf[datumformat]" ); $hr = '<hr style="height:0px;border:solid ' . $conf [ 'hrcolor' ]. ' 0px;border-top-width: 1px;" />' ; if ( $conf [ 'ip' ] == JA) { $ips = $_SERVER [ 'REMOTE_ADDR' ]; $ip = '<br />Deine IP : ' . $_SERVER [ 'REMOTE_ADDR' ]. '' ; } else { $ip = '' ; } srand ((double) microtime() * 1000000); $sz = rand(999,10000); if ( $conf [ 'spam' ] == AN) { $spam = ' <table border= "0" bgcolor= "'.$conf['tabellecolor'].'" cellpadding= "0" cellspacing= "0" > <tr> <td align= "center" > <input type= "hidden" name= "sz" value= "'.$sz.'" /> '.$sz.' <input name= "xspam" size= "4" maxlength= "4" value= "" /> </td> </tr> </table> '; } else { $spam = '' ; } if ( $conf [ 'smilies' ] == JA) { $smilies = shboxsmilies(); } else { $smilies = '' ; } if ( loggedin() ) { $abf = 'SELECT id, name, avatar FROM prefix_user WHERE name = "' .escape( $_SESSION [ 'authname' ], 'string' ). '"' ; $erg = db_query( $abf ); $row = db_fetch_object( $erg ); { $tabellew = $conf [ 'tabellewidth' ]; $tabelleh = $conf [ 'tabelleheight' ]; if ( $conf [ 'anzeige' ] == 0) { if ( file_exists ( $row ->avatar)) { $avatar = '<img src="' . $row ->avatar. '" border="0" height="' . $conf [ 'avatarx' ]. '" width="' . $conf [ 'avatary' ]. '">' ; } else { $avatar = $_SESSION [ 'authname' ]; } } else { $avatar = $_SESSION [ 'authname' ]; } } $tpl = new tpl ( 'shbox' ); $ar = array ( 'txt' => $text = escape( $_POST [ 'txt' ], 'textarea' ), 'CLASS' => $class , 'SMILIES' => $smilies , 'IP' => $ip , 'IPS' => $ips , 'USER' => $_SESSION [ 'authname' ], 'AVATAR' => $avatar , 'HR' => $hr , 'DATE' => $datum , 'TXTROWS' => $conf [ 'textrows' ], 'TXTCOLS' => $conf [ 'textcols' ], 'TXTCOLOR' => $conf [ 'textgroundcolor' ], 'TCOLOR' => $conf [ 'tabellecolor' ], 'TABELLEH' => $tabelleh , 'TABELLEW' => $tabellew ); $tpl ->set_ar( $ar ); $pos = 0; } elseif ( $conf [ 'gastrecht' ] == AN) { $gast = '<input type="text" size="15" id="sh_nameinput" name="xname" value="Gast" maxlength="15" />' ; $tpl = new tpl ( 'shbox' ); $ar = array ( 'txt' => $text = escape( $_POST [ 'txt' ], 'textarea' ), 'CLASS' => $class , 'SMILIES' => $smilies , 'IP' => $ip , 'IPS' => $ips , 'GAST' => $gast , 'HR' => $hr , 'DATE' => $datum , 'SPAM' => $spam , 'TXTROWS' => $conf [ 'textrows' ], 'TXTCOLS' => $conf [ 'textcols' ], 'TXTCOLOR' => $conf [ 'textgroundcolor' ], 'TCOLOR' => $conf [ 'tabellecolor' ], 'TABELLEH' => $tabelleh , 'TABELLEW' => $tabellew ); $tpl ->set_ar( $ar ); $pos = 1; } else { echo '<center>' . $conf [ 'nametext' ]. '</center><br />' ; echo $hr ; } if ( $conf [ 'reload' ] == AN) { echo '<div id= "sh_bg" > <div id= "shoutbox" > <center><img src= "include/images/load.gif" alt= "Load" id= "shoutbox" border= "0" /></center> </div>'; } else { echo '<div id="sh_bg">' ; shbox(); } $tpl ->out( $pos ); echo '<div class="sh_archiv"><a class="sh_archiv" href="index.php?shoutbox">' . $lang [ 'archiv' ] . '</a></div>' ; echo ' <br clear="all" />' ; echo '</div>' ; ?> |
verwendete ilchClan Version: 1.1 O
betroffene Homepage: airsoft-affen.de
Zuletzt modifiziert von Ra- am 23.05.2013 - 22:42:03