Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 16
SyntaxHighlighte... 42
Newsletters v4.03 103
Facebook Like Box 115
Newsletters v4.02 55
Metro 143
Facebook Connect 161
Shoutbox Panel 123
Redactor for PHP... 102
MI Floating Side... 105
Facebook Login/R... 146
Avatar Studio v2.03 175
Relationship Sta... 93
Sexual Orientati... 111
Fisherman 138
Popular Addons
iTheme2 5789
Arise 5778
User Control v1.23 4608
Event Calendar 4036
Photowidget panel 3878
Radio-Theme red2... 3342
Highslide Gallery 3306
CSS/JavaScript D... 3218
Facebook Connect... 2972
Dynamic Menu 2885
Slideshow Lightb... 2712
L-AMANT 2654
Enigma 2628
2Dark 2601
Black 2565
View Thread
Official Home of PHP-Fusion » General Addon and Modification Support » Themes Support
Who is here? 1 guest(s)
 Print Thread
Aris Theme Change in Style Arabic
Chamali
How do I change my design theme Arise read from right to left Arabic site

Theme Aris
www.php-fusion.co.uk/infusions/addondb/img/screenshots/t_1086.png


Download source  Code
<?php
/*---------------------------------------------------------+
| PHP-Fusion Content Management System                     |
| Copyright (C) 2002 - 2010 Nick Jones                     |
| http://www.php-fu...                              |
+----------------------------------------------------------+
| Arise Theme Copyright (C) 2011 Joakim Falk (Domi)        |
+----------------------------------------------------------+
|                               /T /I/ /  /   /            |
|                              / |/ | .-~/.-~/         |
|                          T\ Y  I  |/  /  _/         |
|         /T               | \I  |  I  Y.-~/               |
|        I l   /I       T\ |  |  l  |  T  /         |
|     T\ |  \ Y l  /T   | \I  l   \ `  l Y         |
| __  | \l   \l  \I l __l  l   \   `  _. |         |
| \ ~-l  `\   `\  \  \ ~\  \   `. .-~   <          |
|  \   ~-. "-.  `  \  ^._ ^. "-.  /  \   |                 |
|.--~-._  ~-  `  _  ~-_.-"-." ._ /._ ." ./         |
| >--.  ~-.   ._  ~>-"    "\   7   7   ]                   |
|^.___~"--._    ~-{  .-~ .  `\ Y . /    |         |
| <__ ~"-.  ~       /_/   \   \I  Y   : |         |
|   ^-.__           ~(_/   \   >._:   | l______         |
|       ^--.,___.-~"  /_/   !  `-.~"--l_ /     ~"-.      |
|              (_/ .  ~(   /'     "~"--,Y    -=O- _)      |
|               (_/ .  \  :           / l       "   \      |
|                \ /    `.    .     .^   \_.-~"~--.  )     |
|                 (_/ .   `  /     /       !       )/      |
|                  / / _.   '.   .':      /        '      |
|                  ~(_/ .   /    _  `  .-<_         |
|                    /_/ . ' .-~" `.  / \  \          ,´=. |
|                    ~( /   '  :   | X   "-.~-.______//    |
|                      "-,.    l   I/ \_    __{--->._(==.  |
|                       //(     \  <    ~"~"     //        |
|                      /' /\     \  \     ,~=.  ((         |
|                    .^. / /\     "  }__ //===-  `      |
|                   / / ' '  "-.,__ {---(==-         |
|                 .^ '       :  ;  ~"   ll             |
|                / .  .  . : | :!        \         |
|               (_/  /   | | j-"          ~^         |
|                 ~-<_(_.^-~"               |
+----------------------------------------------------------+
| Arise Theme Copyright (C) 2011 Joakim Falk (Domi)        |
+----------------------------------------------------------+
| This program is released as free software under the       |
| Affero GPL license. You can redistribute it and/or       |
| modify it under the terms of this license which you      |
| can read by viewing the included agpl.txt or online      |
| at www.gnu.org/licen... Removal of this       |
| copyright header is strictly prohibited without        |
| written permission from the original author(s).      |
+---------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
require_once INCLUDES."theme_functions_include.php";
require_once THEME."functions.php";

define("THEME_BULLET", "");
define("THEME_WIDTH", "1000px;");


function render_page($license = false) {
   global $settings, $main_style, $locale;

   echo "<script type='text/javascript' src='https://connect.facebook.net/en_US/all.js#xfbml=1'></script>\n";
   echo "<script type='text/javascript' src='https://platform.twitter.com/widgets.js'></script>\n";
   add_to_head("<script type='text/javascript' src='https://apis.google.com/js/plusone.js'>{ lang: 'en-GB' } </script>");


   //Wrapper
   echo "<div style='width:".THEME_WIDTH."; margin: 0px auto;'>";
   echo "<div style='width:".THEME_WIDTH."; margin: 0px auto;' id='header' class='header'>";

   //Header
   echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>\n";
   echo "<td style='width:80%;' align='center'>\n";

   //Site Banner
   echo "<div style='float:left;padding-bottom:10px;'>".showbanners()."</div>";


   //Header links
   if (HEADERLINKS) {
   echo "<div style='float:left;margin: 0px auto;margin-left:2px;padding:8px;'>";
   echo "<a href='".BASEDIR."downloads.php'><img src='".THEME."headerimgs/downloads.png' height='60' width='60' alt='Downloads' title='Downloads' style='vertical-align:middle;' /><br /> Downloads </a>";
   echo "</div>";

   echo "<div style='float:left;margin: 0px auto;padding:8px;'>";
   echo "<a href='".BASEDIR."articles.php'><img src='".THEME."headerimgs/articles.png' height='60' width='60' alt='Articles' title='Articles' style='vertical-align:middle;' /><br /> Articles </a>";
   echo "</div>";

   echo "<div style='float:left;margin: 0px auto;padding:8px;'>";
   echo "<a href='".BASEDIR."photogallery.php'><img src='".THEME."headerimgs/photogallery.png' height='60' width='60' alt='Photogallery' title='Photogallery' style='vertical-align:middle;' /><br /> Photogallery </a>";
   echo "</div>";

   echo "<div style='float:left;margin: 0px auto;padding:8px;'>";
   echo "<a href='".BASEDIR."faq.php'><img src='".THEME."headerimgs/faq.png' height='60' width='60' alt='FaQ' title='FaQ' style='vertical-align:middle;' /><br /> FaQ </a>";
   echo "</div>";

   echo "<div style='float:left;margin: 0px auto;padding:8px;'>";
   echo "<a href='".BASEDIR."/forum/index.php'><img src='".THEME."headerimgs/forum.png' height='60' width='60' alt='Forum' title='Forum' style='vertical-align:middle;' /><br /> Forum </a>";
   echo "</div>";

   echo "<div style='float:left;margin: 0px auto;padding:8px;'>";
   echo "<a href='".BASEDIR."contact.php'><img src='".THEME."headerimgs/contact.png' height='60' width='60' alt='Contact' title='Contact' style='vertical-align:middle;' /><br /> Contact </a>";
   echo "</div>";
   echo "<div class='clear'></div>";
   echo "</td>\n<td style='width:20%;'>\n";
   }

   if (HSDESCRIPTION) {
   //Right header section with sitename and site description
   echo "<div style='float:right;margin-top:2px;'>";
   echo "<br /><h4>".$settings['sitename']."</h4>
   <span class='dtext1'>".$settings['description']."</span></div>";
   }
   
   echo "</td>\n</tr>\n</table>\n";
   echo "<div class='clear'></div>";

   //Search bar (Courtesy iTheme II)
   $locale['search'] = str_replace($locale['global_200'], "", $locale['global_202']);
   echo "<form action='".BASEDIR."search.php' id='searchform' method='get'><input type='text' class='textbox' onblur='if (this.value == \"\") {this.value = \"".$locale['search']."...\";}' onfocus='if (this.value == \"".$locale['search']."...\") {this.value = \"\";}' id='stext' name='stext' value='".$locale['search']."...' /></form>\n";
   echo "<div id='nav-bar'>";
   echo navigation();
   echo "</div>\n";
   echo "</div><div class='clear'></div>";

   //Main Content rendering
   echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."'>\n<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
   echo "</tr>\n</table>\n";
   
   //Footer
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='main-footer'>\n<tr>\n";
   echo "<td align='left' valign='top' width='33%'>&nbsp;Arise Theme by <a href='http://www.venue.nu' target='_blank' title='Venue'>Domi</a> 2011</td>\n";
   if ($settings['rendertime_enabled'] == 1 || ($settings['rendertime_enabled'] == 2 && iADMIN)) {
   echo "<td align='center' valign='top' width='33%'><center>".showrendertime()."</center></td>\n";
   }
   echo "<td align='right' valign='top' width='33%'>".showcounter()."&nbsp;</td>\n";
   echo "</tr><tr>";
        echo "<td align='center' colspan='3' valign='top' width='100%'><br /><br />".showcopyright()."</td>\n";
   echo "</tr>\n</table></div>\n";
   }


function render_comments($c_data, $c_info){
   global $locale, $settings;

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='box box-caption'>".$locale['c100']."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'>";
   if (!empty($c_data)){
      echo "<div class='comments floatfix'>\n";
         $c_makepagenav = '';
         if ($c_info['c_makepagenav'] !== FALSE) {
         echo $c_makepagenav = "<div style='text-align:center;margin-bottom:5px;'>".$c_info['c_makepagenav']."</div>\n";
      }
         foreach($c_data as $data) {
              $comm_count = "<a href='".FUSION_REQUEST."#c".$data['comment_id']."' id='c".$data['comment_id']."' name='c".$data['comment_id']."'>#".$data['i']."</a>";
         echo "<div class='comment-tbl clearfix floatfix'>\n";
         if ($settings['comments_avatar'] == "1") { echo "<span class='comment-avatar'>".$data['user_avatar']."</span>\n"; }
              echo "<span class='comment-actions'>".$comm_count."\n</span>\n";
         echo "<span class='comment-name'>".$data['comment_name']."</span>\n<br /><br />\n";
         echo "<span class='small'>".$data['comment_datestamp']."</span>\n";
   if ($data['edit_dell'] !== false) { echo "<br />\n<span class='comment-admin-top'>".$data['edit_dell']."\n</span>\n"; }
         echo "</div>\n<div class='comment-message'>".$data['comment_message']."</div>\n";
      }
      echo $c_makepagenav;
      if ($c_info['admin_link'] !== FALSE) {
         echo "<div style='float:right' class='comment-admin'>".$c_info['admin_link']."</div>\n";
      }
      echo "</div>\n";
   } else {
      echo $locale['c101']."\n";
   }
      echo "</td>\n</tr>\n";
      echo "<tr><td style='height:2px;background-color:#e87a0b;'></td>\n";
      echo "</tr>\n</table>\n";
}


   

function render_news($subject, $news, $info) {
global $settings;

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='box box-caption' onclick=\"location='".BASEDIR."news.php?readmore=".$info['news_id']."'\" style='cursor:pointer;'>".$subject."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'><div style='float:left;width:100%;'>".$info['cat_image'].$news."</div><div class='clear'></div><div style='float:right;font-size:9px;'>".newsposter($info)."</div></td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo "<div style='float:left;margin-top:3px;'>";
   echo newsopts($info," &middot;" ).itemoptions("N",$info['news_id']);
   echo " &middot; </div>";
if (SHAREING) {
//Share Buttons
echo "<div style='float:left;'>";
//FB Like button
echo "<div style='float:left;'>";
echo "<div id='FbCont".$info['news_id']."'>
<script type='text/javascript'>
<!--//--><![CDATA[//><!--
var fb = document.createElement('fb:like');
fb.setAttribute('href','".$settings['siteurl']."news.php?readmore=".$info['news_id']."');
fb.setAttribute('layout','button_count');
fb.setAttribute('show_faces','true');
fb.setAttribute('width','1');
document.getElementById('FbCont".$info['news_id']."').appendChild(fb);
//--><!]]>
</script>
</div>";
echo "</div>";

//Twitter
echo "<div style='float:left;'>";
echo "<script type='text/javascript'>
//<![CDATA[
(function() {
    document.write('<a href=\"http://twitter.com/share\" class=\"twitter-share-button\" data-count=\"horizontal\" data-url=\"".$settings['siteurl']."news.php?readmore=".$info['news_id']."\" data-text=\"".$info['news_subject']."\" data-via=\"PHPFusion\">Tweet</a>');
    var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
    s.type = 'text/javascript';
    s.async = true;
    s1.parentNode.insertBefore(s, s1);
})();
//]]>
</script>";
echo "</div>";

//Google+
echo "<div style='float:left;'>";
echo "<div class='g-plusone' id='gplusone".$info['news_id']."'></div>
<script type='text/javascript'>
var Validplus=document.getElementById('gplusone".$info['news_id']."');
Validplus.setAttribute('data-size','medium');
Validplus.setAttribute('data-count','true');
Validplus.setAttribute('data-href','".$settings['siteurl']."news.php?readmore=".$info['news_id']."');
</script>";
echo "</div>";
//End share buttons
echo "</div>";
}
   echo "</td>\n";
   echo "</tr>\n";
   echo "<tr><td style='height:2px;background-color:#ff0024;'></td>\n";
   echo "</tr>\n</table>\n";

}

function render_article($subject, $article, $info) {
global $settings;
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='box box-caption'>".$subject."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'><div style='float:left;width:100%;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><div class='clear'></div><div style='float:right;font-size:9px;'>".articleposter($info)."</div></td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo "<div style='float:left;margin-top:3px;'>";
   echo articleopts($info," &middot; ").itemoptions("A",$info['article_id']);
   echo " &middot; </div>";
if (SHAREING) {
//Share Buttons
echo "<div style='float:left;'>";
//FB Like button
echo "<div style='float:left;'>";
echo "<div id='FbCont".$info['article_id']."'>
<script type='text/javascript'>
<!--//--><![CDATA[//><!--
var fb = document.createElement('fb:like');
fb.setAttribute('href','".$settings['siteurl']."articles.php?article_id=".$info['article_id']."');
fb.setAttribute('layout','button_count');
fb.setAttribute('show_faces','true');
fb.setAttribute('width','1');
document.getElementById('FbCont".$info['article_id']."').appendChild(fb);
//--><!]]>
</script>
</div>";
echo "</div>";

//Twitter
echo "<div style='float:left;'>";
echo "<script type='text/javascript'>
//<![CDATA[
(function() {
    document.write('<a href=\"http://twitter.com/share\" class=\"twitter-share-button\" data-count=\"horizontal\" data-url=\"".$settings['siteurl']."articles.php?article_id=".$info['article_id']."\" data-text=\"".$subject ."\" data-via=\"PHPFusion\">Tweet</a>');
    var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
    s.type = 'text/javascript';
    s.async = true;
    s1.parentNode.insertBefore(s, s1);
})();
//]]>
</script>";
echo "</div>";

//Google+
echo "<div style='float:left;'>";
echo "<div class='g-plusone' id='gplusone".$info['article_id']."'></div>
<script type='text/javascript'>
var Validplus=document.getElementById('gplusone".$info['article_id']."');
Validplus.setAttribute('data-size','medium');
Validplus.setAttribute('data-count','true');
Validplus.setAttribute('data-href','".$settings['siteurl']."articles.php?article_id=".$info['article_id']."');
</script>";
echo "</div>";
//End share buttons
echo "</div>";
echo "<div class='clear'></div>";
}
   echo "</td>\n</tr>\n";
   echo "<tr><td style='height:2px;background-color:#00bbc3;'></td>\n";
   echo "</tr>\n</table>\n";
}


function opentable($title) {
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='box box-caption'>".$title."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='main-body'>\n";
}

function closetable() {
   echo "</td>\n";
   echo "</tr>\n";
   echo "</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td>\n";
   echo "<div class='box-footer'></div>\n";
   echo "</td>\n";
   echo "</tr>\n";
   echo "</table>\n";
}

function openside($title, $collapse = false, $state = "on") {
   global $panel_collapse; $panel_collapse = $collapse;
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='box box-caption'><center>".$title."</center></td>\n";
   if ($collapse == true) {
   $boxname = str_replace(" ", "", $title);
   echo "<td class='box box-caption' align='right'>".panelbutton($state, $boxname)."</td>\n";
   }
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }
}

function closeside() {
   global $panel_collapse;
   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>";
   echo "<div class='box-footer'></div>\n";
}
?>




Merged on Jun 06 2012 at 16:31:16:
Help me Pleace !!!!!! :)
Chamali attached the following image:
aris.png

Edited by MarcusG on 06-06-2012 20:28
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Theme Ddraig Themes Support 3 15-05-2013 19:11
How to change displaying my home page from news.php to index.php? General Discussion 19 14-05-2013 09:24
Check theme before setting it Roadmap 1 09-05-2013 15:14
Theme Control Panel Content Administration 2 08-05-2013 13:19
Atom Theme Engine Framework Roadmap 4 04-05-2013 16:53
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue