define("THEME_WIDTH", "1200px;");
define("THEME_BULLET", "");
define("THEME_WIDTH", "100%");
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:250px;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)
Quote
Domi wrote:
@Creatium
I am open to suggestions and ways to evolve this theme, and you are right it was done in a very short timeline since we needed to have it done.
If you can give me some ready to use "fixes" they will be aprichiated , and ofz also released in new versions of the theme if we approve them.
It´s still not tolate to make this site´s main theme a great community effort by everyone who want´s to contribute.
@team2win
For future reference you can see the first post in all official releaees threads, then click --- View this Addon --- once you are in the addon click the folder to the right with the text above it saying Downloads this Addon.
But now , just click here http://www.php-fusion.co.uk/infusions...wnload=414
Quote
I am happy that you changed the Russian NSS theme, looks alot better now
Quote
waxzy wrote:
BUG REPORT
Hi I downloaded this theme yesterday and today I posted an article on localhost and got an error so I opened theme.php and found that it uses news_id instead of article_id for the articles pages...
so in arise/theme.php find this function render_article
In that fucntion you just need to change all references of "news_id" to "article_id" and your done...
:)
Quote
Hm.. Strange.. i haven't seen any errors
Quote
waxzy wrote:Quote
Hm.. Strange.. i haven't seen any errors
very easy to see
you open Arise/theme.php and find function render_article
inside you will see many $info['news_id'] and one $info['news_subject']
in that function replace as I mentioned previously and it 's all fixed
Quote
Domi wrote:
It was in the share functions, i just cloned them in all haste to the articles, they have been updated accordingly, thank you.
The download have been updated along with readme with a thank you to you Creatium, iam useing most of your adaptions ;)
Quote
Domi wrote:
It was in the share functions, i just cloned them in all haste to the articles, they have been updated accordingly, thank you.
The download have been updated along with readme with a thank you to you Creatium, iam useing most of your adaptions ;)
Quote
Undefined index: article_subject Line: 291
Category Forum
Official releases [Themes]Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions