echo "<br>{$loc_posts}: {$total_posts}\n <br>\n <br>{$loc_since}: " . date($dateF, $reg_date * $timezone) . "\n <br>{$loc_from}: {$ulocation}"; $disgen = ""; if ($ugender == 1) { $disgen = "{$loc_male_gender}"; } else { if ($ugender == 2) { $disgen = "{$loc_female_gender}"; } else { $disgen = "{$loc_no_gender}"; } } echo "<br>{$loc_gender}: {$disgen}<br />\n {$loc_yt_channel}: <a href='http://www.youtube.com/c/{$uchannel}'>{$uchannel}</a>\n <br>\n <br>{$loc_last_post}: " . date($dateF . ', ' . $timeF, $ulastdate * $timezone) . "\n <br>{$loc_last_view}: " . date($dateF . ', ' . $timeF, $ontime * $timezone) . "\n\t<br /><img src='assets/flags/{$ucountry}.png' />\n </td>\n <td class='b n2 mainbar{$uid}'>"; if ($mnolay == 0) { echo "{$uheader}"; } echo getSmile(getBBCode(cLink($mmess))) . "\n<br>\n<br>" . getSmile(getBBCode(cLink($ufooter))) . "</small></td>"; //} echo "</table><br />"; } //$stmt->close(); ?> <br> <?php $row = mysqli_fetch_row(mysqli_query($mysqli, "SELECT COUNT(message) FROM usr_private_messages WHERE mes_id = {$mid}")); $total_records = $row[0]; $total_pages = ceil($total_records / 10); echo "<span style='font-size:20px'>"; echo "{$loc_pages}: "; for ($i = 1; $i <= $total_pages; $i++) {
} else { if ($ugender == 2) { $disgen = "{$loc_female_gender}"; } else { $disgen = "{$loc_no_gender}"; } } echo "<br>Gender: {$disgen}<br />\n\tYouTube: <a href='http://www.youtube.com/c/{$ytc}'>{$ytc}</a><br>\n <br>Last post: "; if ($ulastpdate == 0) { echo "{$loc_no_posts_made}"; } else { echo date($dateF . ', ' . $timeF, $ulastpdate * $timezone); } echo "<br>{$loc_last_view}: "; if ($uontime == 0) { echo "{$loc_never}"; } else { echo date($dateF . ', ' . $timeF, $uontime * $timezone); } echo "<br /><img src='assets/flags/{$country}.png' /></td>"; } echo "<td class='b n2 mainbar{$uid}' id='post_'>{$uheader}<blockquote><span class='quotedby'><small><i><a href=http://" . $_SERVER['HTTP_HOST'] . "/forum.php?mode=thread&pid=2#2>{$loc_posted_by} someone</a></i></small></span><hr><a href='/#fakelink'><b>The</b> sample link.</a> <blockquote><span class='quotedby'><small><i><a href=http://" . $_SERVER['HTTP_HOST'] . "/forum.php?mode=thread&pid=1#1>{$loc_posted_by} another someone</a></i></small></span><hr><blockquote><span class='quotedby'><i>{$loc_posted_by} 'someone else'</i></span><hr>Sample nested quote.<hr></blockquote><span class='spoiler1'><span class='spoiler2'>Sample spoiler, but I guess I ruined that for you hehe</span></span><hr></blockquote>^Sample <u>sarcasm</u><hr></blockquote><br>How about some code: <br><table cellspacing='0' style='width: 90%; min-width: 90%;'><tr><td class='b n3'><code class='prettyprint' style='font-size:9pt;'><?php<br>if (\$a == \$b) // I was here.... <br>{<br> print "Sample code."; #oops you just missed him!<br>}<br>?></code></table><br><i>Sample</i> message.<br /><br />"; echo getSmile(getBBCode(cLink($ufooter))); echo "</td>\n</table>\n\n <br>"; } if ($val) { echo "<table cellspacing='0' class='c1'>\n <tr class='h'>\n <td class='b n2'><a href='http://" . $_SERVER['HTTP_HOST'] . "/forum.php?mode=forum&user={$uid}'>{$loc_view_threads}</a>\n | <a href='http://" . $_SERVER['HTTP_HOST'] . "/forum.php?mode=thread&user={$uid}'>{$loc_show_posts}</a>\n </table>"; } } $stmt->close(); $mysqli->close();
echo "{$err} : "; foreach ($out as $outln) { echo "{$outln}<br>"; } $jssrc = file_get_contents($output); //$gzsrc = "$output-gzip.php"; //writeF($gzsrc, gzJSStr($jssrc)); //copy($gzsrc,"../ajaxanimator/full.js.php"); copy($output, "../ajaxanimator/full.js"); $newzfile = $mainHTML; //$newfile = $mainHTML; //echo $compiledCSS; //$newfile = str_replace($cssCode[0],cLink("../ajaxanimator/ajaxanimator-all.css"),$newfile); //$newfile = str_replace($regs[0],jsInc($gzsrc),$newfile); //writeF("ajaxanimator-compressed.htm",$newfile); $newzfile = str_replace($cssCode[0], cLink("../ajaxanimator/ajaxanimator-all.css"), $newzfile); $newzfile = str_replace($regs[0], jsInc("../ajaxanimator/full.js"), $newzfile); writeF("../html/ajaxanimator-compiled-adfree.htm", $newzfile); //writeF("../html/ajaxanimator-compressed-adfree.php",gzHTMLStr($newzfile)); $newzfile2 = $newzfile; $newzfile2 = str_replace("<!-- GoogAd1-->", file_get_contents("GoogAd1.txt"), $newzfile2); $newzfile2 = str_replace("<!-- GoogAd2-->", file_get_contents("GoogAd2.txt"), $newzfile2); $newzfile2 = str_replace("<!-- GoogAd3-->", file_get_contents("GoogAd3.txt"), $newzfile2); $newzfile2 = str_replace("<!-- GoogAd4-->", file_get_contents("GoogAd4.txt"), $newzfile2); //$newzfile2 = str_replace("<!-- GoogAd5-->", file_get_contents("GoogAd5.txt"),$newzfile2); writeF("../html/ajaxanimator-compiled.htm", $newzfile2); //require_once("makeStandalone.php"); //makeStandalone("../html/ajaxanimator-compressed.htm","../html/ajaxanimator-standalone.htm"); //makeStandalone("../html/ajaxanimator-compressed.php","../html/ajaxanimator-standalone.php"); makeStandalone("../html/ajaxanimator-compiled.htm", "../html/ajaxanimator-compressed.htm"); makeStandalone("../html/ajaxanimator-compiled-adfree.htm", "../html/ajaxanimator-compressed-adfree.htm");