Advertisement
saadimran

Untitled

Oct 14th, 2014
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.21 KB | None | 0 0
  1. <?PHP
  2. $less = new lessc;
  3. $less->checkedCompile($this->url->getThemePath('/assets/style.less'), $this->url->getThemePath('/assets/style.css'))
  4. ?>
  5. <!DOCTYPE html>
  6. <html>
  7. <head>
  8.     <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  9.     <script type="text/javascript" src="<?=$this->url->get('/assets/thirdparty/jQuery/plugins/jQuery.scrollview.js')?>"></script>
  10.     <script type="text/javascript" src="<?=$this->url->getThemeUri('/assets/script.js')?>"></script>
  11.     <link type="text/css" rel="stylesheet" href="<?=$this->url->getThemeUri('/assets/style.css')?>" /> 
  12. </head>
  13. <body>
  14.  
  15. <header>
  16.     <a href="<?=$this->url->get('/')?>" class="logo"><img src="<?=$this->url->getThemeUri('/assets/images/logo.png')?>" /></a>
  17.     <nav class="hoverdeet">
  18.     <?PHP
  19.     if(!$user) {
  20.     ?>
  21.         <a href="<?=$this->url->get('/login')?>">
  22.             <div>
  23.                 <br />
  24.                 <i class="icon-unlock-alt"></i>
  25.                 <div>login</div>
  26.             </div>
  27.         </a>
  28.         <a href="<?=$this->url->get('/register')?>">
  29.             <div>
  30.                 <br />
  31.                 <i class="icon-user"></i>
  32.                 <div>register</div>
  33.             </div>
  34.         </a>
  35.     <?PHP
  36.     } else {
  37.         foreach($user->trainer->party as $pokemon) {
  38.             $this->partial('hoverdeet/trainer_pokemon', [
  39.                 'trainer_pokemon' => $pokemon,
  40.                 'url' => null
  41.             ]);
  42.         }
  43.     ?>
  44.         <a href="<?=$this->url->get('/logout')?>">
  45.             <div class="trainer">
  46.                 <img src="http://galaxisdark.com/assets/sprites/trainers/1.png" />
  47.                 <div><?=$user->username?></div>
  48.             </div>
  49.             <div>
  50.                 <br />
  51.                 <i class="icon-lock"></i>
  52.                 <div>logout</div>
  53.             </div>
  54.         </a>
  55.     <?PHP
  56.     }
  57.     ?>
  58.     </nav>
  59. </header>
  60.  
  61. <section class="body">
  62.     <section class="left"></section>
  63.     <section class="middle">
  64.    
  65.         <header>
  66.             <menu>
  67.                 <a>
  68.                     <img src="<?=$this->url->getBigFatcowIcon('vcard')?>" />
  69.                     profile
  70.                 </a>
  71.                 <a>
  72.                     <img src="<?=$this->url->getBigFatcowIcon('chart_bar')?>" />
  73.                     rankings
  74.                 </a>
  75.                 <a>
  76.                     <img src="<?=$this->url->getBigFatcowIcon('world')?>" />
  77.                     explore
  78.                 </a>
  79.                 <a>
  80.                     <img src="<?=$this->url->get('/assets/images/pokedex-icon.png')?>" />
  81.                     dexter
  82.                 </a>
  83.                 <a>
  84.                     <img src="<?=$this->url->getBigFatcowIcon('boxing_glove')?>" />
  85.                     gyms
  86.                 </a>
  87.                 <a>
  88.                     <img src="<?=$this->url->getBigFatcowIcon('information')?>" />
  89.                     information
  90.                 </a>
  91.                 <a>
  92.                     <img src="<?=$this->url->getBigFatcowIcon('cog')?>" />
  93.                     settings
  94.                 </a>
  95.             </menu>
  96.         </header>
  97.        
  98. <?PHP echo $this->getContent(); ?>
  99.        
  100.         <footer>
  101.         GalaxisDark &copy; <?=date('Y')?>, All rights reserved.
  102.         [
  103.             <a href="<?=$this->url->get('/privacy_policy')?>">Privacy Policy</a> |
  104.             <a href="<?=$this->url->get('/terms_of_service')?>">Terms of Service</a> |
  105.             <a href="<?=$this->url->get('/extra_legal_information')?>">Extra legal information</a>
  106.         ]
  107.         [
  108.             <a href="<?=$this->url->get('/about_us')?>">About Us</a> |
  109.             <a href="<?=$this->url->get('/faq')?>">F.A.Q</a> |
  110.             <a href="<?=$this->url->get('/credits')?>">Credits</a>
  111.         ]
  112.         <br />
  113.         GalaxisDark is a Pok&eacute;mon fan game, we are in no way related nor affiliated with Nintendo/Game Freak Inc. or any other company that owns rights to Pok&eacute;mon.
  114.         </footer>
  115.    
  116.     </section>
  117.     <section class="right"></section>
  118. </section>
  119.    
  120. </body>
  121. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement