Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-ca">
- <head>
- <?php $this->RenderAsset('Head');?>
- <style type="text/css">
- .iframe {
- color: #FFF;
- text-decoration: none;
- }
- a.anasayfa:link {color: white; text-decoration: none}
- a.anasayfa:visited {color: white; text-decoration: none}
- .anasayfa {
- color: #FFF;
- text-decoration: none;
- font-weight: bold;
- }
- a.iframe:link {color: white; text-decoration: none}
- a.iframe:visited {color: white; text-decoration: none}
- a.iframe:hover {text-decoration: underline}
- a.iframe2:link {color: white; text-decoration: none}
- a.iframe2:visited {color: white; text-decoration: none}
- a.iframe2:hover {text-decoration: underline}
- </style>
- </head>
- <body id="<?php echo $BodyIdentifier; ?>" class="<?php echo $this->CssClass; ?>">
- <div id="Frame">
- <div id="Head">
- <div class="Menu">
- <h1><a class="Title" href="<?php echo Url('/'); ?>"><?php echo Gdn_Theme::Logo(); ?></span></a></h1><a class='anasayfa' href="http://www.pienlab.com/"></a>
- <?php
- $Session = Gdn::Session();
- if ($this->Menu) {
- if ($Session->IsValid()) {
- $Name = $Session->User->Name;
- $CountNotifications = $Session->User->CountNotifications;
- if (is_numeric($CountNotifications) && $CountNotifications > 0)
- $Name .= ' <span class="Alert">'.$CountNotifications.'</span>';
- if (urlencode($Session->User->Name) == $Session->User->Name)
- $ProfileSlug = $Session->User->Name;
- else
- $ProfileSlug = $Session->UserID.'/'.urlencode($Session->User->Name);
- $this->Menu->AddLink('User', $Name, '/profile/'.$ProfileSlug, array('Garden.SignIn.Allow'), array('class' => 'UserNotifications'));
- $this->Menu->AddLink('SignOut', T('Çıkış yap'), SignOutUrl(), FALSE, array('class' => 'NonTab SignOut'));
- }
- ?>
- <a class='iframe' href="http://www.destek.pienlab.com">Destek</a> <a class='iframe2' href="http://www.pienlab.com/plugin/page/hakkimizda">Hakkımızda</a>
- <?
- echo $this->Menu->ToString();
- }
- ?>
- <div class="Search"><?php
- $Form = Gdn::Factory('Form');
- $Form->InputPrefix = '';
- echo
- $Form->Open(array('action' => Url('/search'), 'method' => 'get')),
- $Form->TextBox('Search'),
- $Form->Button('Go', array('Name' => '')),
- $Form->Close();
- ?></div>
- </div>
- </div>
- <div id="Body">
- <div id="Content"><?php $this->RenderAsset('Content'); ?></div>
- <div id="Panel"><?php $this->RenderAsset('Panel'); ?></div>
- </div>
- <div id="Foot">
- <?php
- $this->RenderAsset('Foot');
- echo Wrap(Anchor(T('© 2014 - Pienlab')), 'div');
- ?>
- </div>
- </div>
- <?php $this->FireEvent('AfterBody'); ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement