Advertisement
schindler

Untitled

Sep 16th, 2014
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. <?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-ca">
  4. <head>
  5. <?php $this->RenderAsset('Head');?>
  6. <style type="text/css">
  7.  
  8. .iframe {
  9. color: #FFF;
  10. text-decoration: none;
  11.  
  12.  
  13. }
  14. a.anasayfa:link {color: white; text-decoration: none}
  15. a.anasayfa:visited {color: white; text-decoration: none}
  16.  
  17. .anasayfa {
  18. color: #FFF;
  19. text-decoration: none;
  20. font-weight: bold;
  21. }
  22. a.iframe:link {color: white; text-decoration: none}
  23. a.iframe:visited {color: white; text-decoration: none}
  24. a.iframe:hover {text-decoration: underline}
  25. a.iframe2:link {color: white; text-decoration: none}
  26. a.iframe2:visited {color: white; text-decoration: none}
  27. a.iframe2:hover {text-decoration: underline}
  28.  
  29. </style>
  30.  
  31.  
  32. </head>
  33. <body id="<?php echo $BodyIdentifier; ?>" class="<?php echo $this->CssClass; ?>">
  34. <div id="Frame">
  35. <div id="Head">
  36. <div class="Menu">
  37. <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>
  38. <?php
  39. $Session = Gdn::Session();
  40. if ($this->Menu) {
  41.  
  42.  
  43. if ($Session->IsValid()) {
  44. $Name = $Session->User->Name;
  45. $CountNotifications = $Session->User->CountNotifications;
  46. if (is_numeric($CountNotifications) && $CountNotifications > 0)
  47. $Name .= ' <span class="Alert">'.$CountNotifications.'</span>';
  48.  
  49. if (urlencode($Session->User->Name) == $Session->User->Name)
  50. $ProfileSlug = $Session->User->Name;
  51. else
  52. $ProfileSlug = $Session->UserID.'/'.urlencode($Session->User->Name);
  53. $this->Menu->AddLink('User', $Name, '/profile/'.$ProfileSlug, array('Garden.SignIn.Allow'), array('class' => 'UserNotifications'));
  54. $this->Menu->AddLink('SignOut', T('Çıkış yap'), SignOutUrl(), FALSE, array('class' => 'NonTab SignOut'));
  55. }
  56. ?>
  57. &nbsp; &nbsp; &nbsp; <a class='iframe' href="http://www.destek.pienlab.com">Destek</a>&nbsp; <a class='iframe2' href="http://www.pienlab.com/plugin/page/hakkimizda">Hakkımızda</a>
  58. <?
  59. echo $this->Menu->ToString();
  60. }
  61. ?>
  62. <div class="Search"><?php
  63. $Form = Gdn::Factory('Form');
  64. $Form->InputPrefix = '';
  65. echo
  66. $Form->Open(array('action' => Url('/search'), 'method' => 'get')),
  67. $Form->TextBox('Search'),
  68. $Form->Button('Go', array('Name' => '')),
  69. $Form->Close();
  70. ?></div>
  71. </div>
  72. </div>
  73. <div id="Body">
  74. <div id="Content"><?php $this->RenderAsset('Content'); ?></div>
  75. <div id="Panel"><?php $this->RenderAsset('Panel'); ?></div>
  76. </div>
  77. <div id="Foot">
  78. <?php
  79. $this->RenderAsset('Foot');
  80. echo Wrap(Anchor(T('© 2014 - Pienlab')), 'div');
  81. ?>
  82. </div>
  83. </div>
  84. <?php $this->FireEvent('AfterBody'); ?>
  85. </body>
  86. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement