View Single Post
  #2  
Old 23rd November 2015, 16:23
HDVinnie's Avatar
HDVinnie HDVinnie is offline
BluCrew
 
Join Date: Dec 2014
P2P
Posts: 140
Default
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\">&nbsp;&nbsp;<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>"

?>
now save this as disclaimer.php and place it on your server in the include folder. Now while your in the include folder download a copy of the functions.php and add this.

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 */
Then search for this in functions php "stdfoot"

After
Code:
$tpl->set('xbtit_debug', (($PRINT_DEBUG)?print_debug():""));
Add
$tpl->set('news_text',print_disclaimer());
Now save the file and add it on server

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
Reply With Quote