Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /************************************************************/
- /* Theme Name: subBlack */
- /* Theme Design: coldblooded (www.nukemods.com) */
- /* version 2.0 */
- /* */
- /* Theme inspired by the phpbb2 style subBlack by */
- /* spectre (http://www.gamerhaven.com/) */
- /* */
- /************************************************************/
- /************************************************************/
- /* Theme Colors Definition */
- /* */
- /* Define colors for your web site. $bgcolor2 is generaly */
- /* used for the tables border as you can see on OpenTable() */
- /* function, $bgcolor1 is for the table background and the */
- /* other two bgcolor variables follows the same criteria. */
- /* $texcolor1 and 2 are for tables internal texts */
- /************************************************************/
- function top() {
- global $user, $nuked;
- echo"<html><head>
- <meta name=\"keywords\" lang=\"fr\" content=\"$nuked[keyword]\">
- <meta name=\"Description\" content=\"$nuked[description]\">
- <title>$nuked[name] :: $nuked[slogan] ::</title>
- <meta http-equiv=\"content-style-type\" content=\"text/css\">
- <link title=\"style\" type=\"text/css\" rel=\"stylesheet\" href=\"themes/subBlack/style.css\">
- </head>";
- echo "<body bgcolor=\"#000000\" text=\"#FFFFCC\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">";
- if ($username == "Anonyme") {
- $theuser = " <a href=\"modules.php?name=Your_Account&op=new_user\">Enregistrez Vous!";
- } else {
- $theuser = " Bienvenue $username!";
- }
- if ($user[2]!="") {
- $theuser = " "._WELCOME." <i>$user[2]</i> !";
- } else {
- $theuser = " <a href=\"index.php?file=User&op=reg_screen\">Enregistrez Vous!";
- }
- echo" <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"100%\">
- <tr>
- <td align=\"center\" valign=\"middle\">
- <table width=\"1000\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
- <tr>
- <td><br>";
- $tmpl_file = "themes/subBlack/header.html";
- $thefile = implode("", file($tmpl_file));
- $thefile = addslashes($thefile);
- $thefile = "\$r_file=\"".$thefile."\";";
- eval($thefile);
- print $r_file;
- get_blok(gauche);
- echo" </td><td valign=\"top\" width=\"100%\">";
- }
- function footer() {
- global $nuked;
- echo "</td><td valign=\"top\" width=\"165\">";
- get_blok(droite);
- $tmpl_file = "themes/subBlack/footer.html";
- $thefile = implode("", file($tmpl_file));
- $thefile = addslashes($thefile);
- $thefile = "\$r_file=\"".$thefile."\";";
- eval($thefile);
- print $r_file;
- echo "<center>\n";
- echo "</center>\n";
- echo "<center><br><font class=\"small\">:: subBlack phpbb2 style par <a href=\"http://www.gamerhaven.com/\">spectre</a> :: PHP-Nuke thème par <a href=\"http://www.nukemods.com\">Nukemods.com</a> ::<br>:: Adaptation par <a href=\"http://www.orfeoproject.com\" target=\"_blank\">Shadow</a> ::</font></center>";
- echo "<br>\n";
- echo "<br></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>";
- }
- function news($data){
- if ($notes != "") {
- $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
- } else {
- $notes = "";
- }
- if ("$aid" == "$informant") {
- $content = "$thetext$notes\n";
- } else {
- if($informant != "") {
- $content = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
- } else {
- $content = "$anonymous ";
- }
- $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
- }
- $posted = ""._NEWSPOSTBY." <a href=\"index.php?file=Team&op=detail&autor=$data[auteur]\">$data[auteur]</a> "._THE." $data[date] "._AT." $data[heure]";
- $comment = "<a href=\"index.php?file=News&op=index_comment&news_id=$data[id]\">"._NEWSCOMMENT."</a> ($data[nb_comment]) $data[printpage] $data[friend]";
- $tmpl_file = "themes/subBlack/news.html";
- $thefile = implode("", file($tmpl_file));
- $thefile = addslashes($thefile);
- $thefile = "\$r_file=\"".$thefile."\";";
- eval($thefile);
- print $r_file;
- }
- function block_gauche($block) {
- $tmpl_file = "themes/subBlack/blocks.html";
- $thefile = implode("", file($tmpl_file));
- $thefile = addslashes($thefile);
- $thefile = "\$r_file=\"".$thefile."\";";
- eval($thefile);
- print $r_file;
- }
- function block_droite($block) {
- $tmpl_file = "themes/subBlack/blocks.html";
- $thefile = implode("", file($tmpl_file));
- $thefile = addslashes($thefile);
- $thefile = "\$r_file=\"".$thefile."\";";
- eval($thefile);
- print $r_file;
- }
- function OpenTable() {
- global $bgcolor1, $bgcolor2;
- echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"7\">
- <tr>
- <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">
- <tr>
- <td bgcolor=\"#212121\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\">
- <tr>
- <td bgcolor=\"#000000\"><table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\" bgcolor=\"#212121\">
- <tr>
- <td>";
- }
- function CloseTable() {
- echo "</td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement