| ||||||
![]() |
|
#1
|
||||||||||||
|
||||||||||||
|
first of all login mod for theme Tiger Login
cleaned images without tiger in cleaned.zip other mods will be posted later or won't theme is puted up on moded pmbt so there might be some errors witch u need to report me ad noone else since i know what is what preview is attached (u can see profile image is not fiting but that's because it's assigned in other file for other template) 1. create backup of folder themes/pmbt 2. unzip pmbt.zip and move it to themes/ folder . alow to replace all files 3. enjoy and report errors 4. say thanks ore i will tell ur mother ur a bad boy ![]() ![]() index.php mod with cools news mod 1. open index.php 2. deleate it all 3. copy and paste this code in it [php]<?php if (defined('IN_PMBT'))die ("You can't include this file"); define("IN_PMBT",true); ?> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script> <script type="text/javascript" src="js/jquery.localscroll-min.js"></script> <script type="text/javascript" src="js/jquery.scrollTo-min.js"></script> <script type="text/javascript" src="js/vtip-min.js"></script> <script type="text/javascript" src="js/custom.js"></script> <?php include("header.php"); ////////////////////////////MOD ARCADE///////////////////// $player = getuserid($btuser); if(isset($_GET["act"]) AND $_GET["act"]=="Arcade") { if($_POST['gname'] == "asteroids") { $game = 1; $level = 1; $score = $_POST['score']; } if($_POST['gname'] == "breakout") { $game = 2; $level = 1; $score = $_POST['gscore']; } if($_POST['gname'] == "hexxagon") { $game = 3; $level = 1; $score = $_POST['gscore']; } if($_POST['gname'] == "invaders") { $game = 4; $level = 1; $score = $_POST['score']; } if($_POST['gname'] == "moonlander") { $game = 5; $level = 1; $score = $_POST['gscore']; } if($_POST['gname'] == "pacman") { $game = 6; $level = 1; $score = $_POST['gscore']; } if($_POST['gname'] == "psol") { $game = 7; $level = 1; $score = $_POST['gscore']; } if($_POST['gname'] == "simon") { $game = 8; $level = 1; $score = $_POST['gscore']; } if($_POST['gname'] == "snake") { $game = 9; if($_POST['levelName'] == "LEVEL: SLUG") { $level = 1; } if($_POST['levelName'] == "LEVEL: WORM") { $level = 2; } if($_POST['levelName'] == "LEVEL: PYTHON") { $level = 3; } $score = $_POST['score']; } if($_POST['gname'] == "tetris") { $game = 10; $level = $_POST['level']; $score = $_POST['gscore']; } $db->sql_query("INSERT INTO `".$db_prefix."_flashscores` ( `ID` , `game` , `user` , `level` , `score`, `date`) VALUES ( '', '".$game."', '".$player."', '".$level."', '".$score."', '" . get_date_time() . "');") OR DIE(MySQL_ERROR()); $urlc="flashscores.php"; print("<html><head><meta http-equiv=refresh content='0;url=$urlc'></head></html>\n"); die; } if (isset($has_newpm) AND $has_newpm) { OpenTable2(_btpm); echo "<h3>"._btyougotpm."</h3>"; CloseTable2(); } if ($welcome_message != ""){ OpenTable2(_btsitenews); $welcome_message = format_comment($welcome_message); parse_smiles($welcome_message); echo " <div id=\"nav\"> <a href=\"#about\" class=\"vtip\" title=\"Lapas ziņas\"><img src=\"themes/pmbt/global/human.png\" alt=\"about\">Ziņas</a> <a href=\"#contact\" class=\"vtip\" title=\"Nesen reģistreju Last edited by wolfman; 08-02-10 at 00:33. |
![]() |
| Tags |
| theme , tiger |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My theme music theme. | simalingur | Nafania SZ Edition | 0 | 12-02-10 18:08 |
| Tiger Login | wolfman | PMBT | 13 | 09-02-10 06:43 |
| [PMBT 2.x] AcidTech Tiger | Krypto | PMBT | 5 | 15-02-09 05:18 |