[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_themes/crahan/ -> theme.php (source)

   1  <?php
   2  /*
   3  + ----------------------------------------------------------------------------+
   4  |     e107 website system
   5  |
   6  |     ©Steve Dunstan 2001-2002
   7  |     http://e107.org
   8  |     jalist@e107.org
   9  |
  10  |     Released under the terms and conditions of the
  11  |     GNU General Public License (http://gnu.org).
  12  |
  13  |     $Source: /cvsroot/e107/e107_0.7/e107_themes/crahan/theme.php,v $
  14  |     $Revision: 1.10 $
  15  |     $Date: 2005/12/14 19:28:52 $
  16  |     $Author: sweetas $
  17  +----------------------------------------------------------------------------+
  18  */
  19  
  20  if (!defined('e107_INIT')) { exit; }
  21  
  22  // [multilanguage]
  23  @include_once(e_THEME."crahan/languages/".e_LANGUAGE.".php");
  24  @include_once(e_THEME."crahan/languages/English.php");
  25  
  26  // [theme]
  27  $themename = "CraHan";
  28  $themeversion = "1.0";
  29  $themeauthor = "Steve Dunstan [jalist]";
  30  $themeemail = "jalist@e107.org";
  31  $themewebsite = "http://e107.org";
  32  $themedate = "29/01/2005";
  33  $themeinfo = "Based on the theme by CraHan at his homepage <a href='http://n00.be' rel='external'>n00.be</a>, design used with permission.";
  34  define("STANDARDS_MODE", TRUE);
  35  $xhtmlcompliant = TRUE;
  36  $csscompliant = TRUE;
  37  define("IMODE", "lite");
  38  define("THEME_DISCLAIMER", "<br /><i>".LAN_THEME_1."</i>");
  39  
  40  $logo = "logo".rand(1, 4);
  41  
  42  // [layout]
  43  
  44  $layout = "_default";
  45  
  46  $HEADER = "
  47  <div id='wrapper'>
  48  <div id='menu'>
  49  <div class='content'>
  50  <div class='fixfuckedie'>
  51  {MENU=1}
  52  </div>
  53  </div>
  54  </div>
  55  <div id='main'>
  56  <div id='sitebanner'>
  57  <div id='{$logo}'><div class='smalltext' style='text-align: right; vertical-align: bottom;'>{SITENAME}&nbsp;</div></div>
  58  <div id='navbar'>
  59  {SITELINKS}
  60  </div>
  61  </div>
  62  <div class='content'>
  63  <div class='fixfuckedie'>
  64  ";
  65  
  66  $FOOTER = "
  67  </div>
  68  </div>
  69  <br />
  70  <br />
  71  <div class='smalltext' style='text-align: center;'>{SITEDISCLAIMER}</div>
  72  </div>
  73  </div>
  74  ";
  75  
  76  $NEWSSTYLE = "
  77  <div class='header'>
  78  <div class='left'>{STICKY_ICON} {NEWSTITLE}</div>
  79  <div class='right'>{NEWSDATE}</div>
  80  </div>
  81  <div class='bodytable' style='text-align:left'>
  82  {NEWSBODY}
  83  {EXTENDED}
  84  </div>
  85  <br />
  86  <div class='newssmalltext'>[ {NEWSAUTHOR} :: {NEWSCOMMENTS}{TRACKBACK} ]</div>
  87  <br />
  88  <br />";
  89  
  90  define("ICONSTYLE", "float: left; border:0");
  91  define("COMMENTLINK", LAN_THEME_3);
  92  define("COMMENTOFFSTRING", LAN_THEME_2);
  93  define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
  94  define("EXTENDEDSTRING", LAN_THEME_4);
  95  define("POST_EXTENDEDSTRING", " ]<br />");
  96  define("TRACKBACKSTRING", LAN_THEME_5);
  97  define("TRACKBACKBEFORESTRING", " :: ");
  98  
  99  
 100  // [linkstyle]
 101  
 102  define('PRELINK', "");
 103  define('POSTLINK', " ::");
 104  define('LINKSTART', ":: ");
 105  define('LINKSTART_HILITE', ":: ");
 106  define('LINKEND', "");
 107  define('LINKDISPLAY', 1);
 108  define('LINKALIGN', "left");
 109  
 110  
 111  //    [tablestyle]
 112  
 113  function tablestyle($caption, $text, $mode)
 114  {
 115      echo "<div class='header'>{$caption}</div>\n{$text}\n<br /><br />\n";
 116  }
 117  
 118  $COMMENTSTYLE = "
 119  <div style='padding-left: 25px;'>{COMMENT} {COMMENTEDIT}<br /><br />
 120  <div class='newssmalltext'>[ ".LAN_THEME_6." {USERNAME} :: {TIMEDATE} ]</div>
 121  </div>
 122  <br /><br />
 123  ";
 124  
 125  
 126  $CHATBOXSTYLE = "
 127  <img src='".e_IMAGE_ABS."admin_images/chatbox_16.png' alt='' style='vertical-align: middle;' />
 128  <b>{USERNAME}</b>
 129  <div class='smalltext'>
 130  {MESSAGE}
 131  </div>
 132  <br />";
 133  
 134  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7