Template.php

Started by BamBam0077, November 21, 2017, 11:39:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BamBam0077

/var/www/lab/temps/template.php ( default.php )

<?php
/*
+------------------------------------------------
|   TBDev.net BitTorrent Tracker PHP
|   =============================================
|   by CoLdFuSiOn
|   (c) 2003 - 2009 TBDev.Net
|   http://www.tbdev.net
|   =============================================
|   svn: http://sourceforge.net/projects/tbdevnet/
|   Licence Info: GPL
+------------------------------------------------
|   $Date$
|   $Revision$
|   $Author$
|   $URL$
+------------------------------------------------
*/
    
echo "<body>
          <header>"
;
  
    global 
$SEGA_CMS_USER;
 
 if ( isset(
$SEGA_CMS_USER) ) {

echo "<div class='bootmenu'>
      <div class='w3-top'>
  <div>
  <div class='w3-bar' style='margin-top: 0px;border-top: 1px solid #1c252b;border-bottom: 1px solid #1c252b;height: 65px;background-color: #2e2e2e;border: 1px solid #000000;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);'>
  <div style='margin-top: -5px'>"
.StatusBar()."</div>
  </div><div style='padding: 0em;'></div>
  <img src='images/cooltext215277210988924.png' width='1350' height='160' />
  <div class='w3-bar' style='margin-top: 5px;border-top: 1px solid #1c252b;border-bottom: 1px solid #1c252b;height: 45px;background-color: #2e2e2e;border: 1px solid #000000;'>
  <ul style='margin-left: 9px;' class='button-list'>
  <li style='margin-top: -3px;padding: 0.2em;'><a href='ajax_chat.php' class='button'>Chat Room</a></li>
  <li style='margin-top: -3px;margin-left: -12px;padding: 0.2em;'><a href='forums.php' class='button'>Forums</a></li>"
;

   
// I will always love this concept, mysteries, histories, law, lessons, respect, thug shit ya wiz!
   
if ( isset($SEGA_CMS_USER['class']) > sega_sql_trigger("SELECT class_level FROM class_name ORDER BY class_level.Supplier") ) { 
   
    echo 
"<li style='margin-top: -3px;margin-left: -12px;padding: 0.2em;'><a href='upload.php' class='button'>Upload</a></li>
  <li style='margin-top: -3px;margin-left: -12px;padding: 0.2em;'><a href='myrequest.php' class='button'>Requests</a></li>"
;
   }
  
   echo 
" <li style='margin-top: -3px;margin-left: -12px;padding: 0.2em;'><a href='browse.php' class='button'>Browse</a></li>
  <li style='margin-top: -3px;margin-left: -12px;padding: 0.2em;'><a href='mybonus.php' class='button'>Shop</a></li>
  <li style='margin-top: -3px;margin-left: -12px;padding: 0.2em;'><a href='rules.php' class='button'>Rules</a></li>
  <li style='margin-top: -3px;margin-left: -12px;padding: 0.2em;'><a href='list.php' class='button'>Members</a></li>
  <li style='margin-top: -3px;margin-left: -12px;padding: 0.2em;'><a href='contactus.php' class='button'>Contact Us</a></li>
  <li style='margin-top: -3px;margin-left: -12px;padding: 0.2em;'><a href='staff.php' class='button'>Staff Team</a></li>
  <li style='margin-top: -3px;margin-left: 127px;padding: 0.2em;flaot: right'><a href='my.php' class='button'>Control Panel</a></li>
  <li style='margin-top: -15px;margin-left: -130px;padding: 1em;float: right;'><a href='logout.php' class='button'>Sign Out</a></li>
  </ul>
  </div></div></div>
      </div></div>"
;
echo "</header>";
 }   

 
 if ( isset(
$SEGA_CMS_USER) ) {
 
    echo 
"<div style='margin-top: 250px;margin-left: 190px;'>
  <!-- Begin Main Frame --> 
      <div style='margin-top: 20px;margin-left: -2px;
              background-color: #5d5053;border: 1px solid #353939;
  height: 35px;max-width: 85%;
  border-top-left-radius: 14px;border-top-right-radius: 14px;'></div><div style='margin-top: -5px;margin-left: -2px;border: transparent;width: 85%;background-color: #4b4446;border: 1px solid #353939;'>"
;
 }

 
 if ( !isset(
$SEGA_CMS_USER) ) {
 
echo "<div class='bootmenu'>
      <div class='w3-top'><div>
  <div class='w3-bar' style='margin-top: 0px;border-top: 1px solid #1c252b;border-bottom: 1px solid #1c252b;height: 70px;background-color: #2e2e2e;border: 1px solid #000000;'>
  <img style='margin-top: -40px;margin-left: -40px;' src='images/bg_logo.png'/>
  </div></div>"
;
    echo 
"</header>";
 }
  

 if ( !isset(
$SEGA_CMS_USER) ) {
 
   echo 
"<div style='margin-top: 140px;margin-left: 190px;'>
  <!-- Begin Main Frame --> 
      <div style='margin-top: 20px;margin-left: -2px;
              background-color: #5d5053;border: 1px solid #353939;
  height: 35px;max-width: 85%;
  border-top-left-radius: 14px;border-top-right-radius: 14px;'></div><div style='margin-top: -5px;margin-left: -2px;border: transparent;width: 85%;background-color: #4b4446;border: 1px solid #353939;'>"
;
 }

?>


change $CMS_SEGA_USER to $CURUSER user if you wanted or edit your bittorrent file:

$GLOBALS["CURUSER"]

find that and you will know what to do.  ;)
"When Darkness Shadows Your Doubts, Deep Within Us Is Our Key, Not Success But Everything" ~ Anonymous