|
#1
|
|||
|
|||
How Can Add in XbtitFm V1.16
Last edited by joeroberts; 20th November 2015 at 17:00. |
#2
|
||||
|
||||
first you need to make a disclaimer.php
Code:
<?php Global $SITENAME; $disclaimer="<TABLE border=\"0\" align=\"center\" cellpadding=\"5\" cellspacing=\"1\" width=\"100%\"> <TR> <TD valign=\"top\"> <table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" align=\"center\"> <tr> <td width=\"100%\" height=\"26\"> <b>Site Disclaimer</b></td> </tr></table> <table border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" height=\"70\"> <tr><td class=\"lista\" align=\"center\" style=\"padding-left:20px; padding-right:20px;\"><center>None of the files shown here are actually hosted on the server of (".$SITENAME."). The links are provided solely by this site's users. The administrator of this site cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. By registering on and/or using this website, it is assumed that <u>you</u>, as the user, have read, understood, and agreed to all the terms and conditions set forth by the site's owner.</center></td> </tr> </table></TD> </TR></TABLE>" ?> Code:
/* This is for a disclaimer */ function print_disclaimer() { if (file_exists("include/disclaimer.php")) { include("include/disclaimer.php"); } else $disclaimer=""; return $disclaimer; } /* End Disclaimer */ After Code:
$tpl->set('xbtit_debug', (($PRINT_DEBUG)?print_debug():"")); Add $tpl->set('news_text',print_disclaimer()); Bump: next you must go into your style folder and then into whatever theme you want this disclaimer to show on. So say for example style/Red Theme/ Within that theme folder you will see a file called main.tpl Download it Open it up and find this: <tag:main_footer /> Now right after it add this <tag:news_text /> Save and upload Last edited by joeroberts; 23rd November 2015 at 16:34. Reason: please use code box |
Tags |
add , v116 , xbtitfm |
|
|