Topic: How to make custom pages ? e.g Terms of Use

I would make custom pages with text e.g Terms....
Can someone help me please ??

Re: How to make custom pages ? e.g Terms of Use

Hi, you have to learn html/xhtml/php in order to make your own web page : there are many many many tutorial on the web.
If you want to keep the current design of chevereto, just use the .css existing.

Thumbs up

Re: How to make custom pages ? e.g Terms of Use

Otherwise:

Open ur editor and paste the following code:

<?
require('engine.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/url]">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=LANG;?>" lang="<?=LANG;?>">
<head>
<meta name="generator" content="Chevereto <?=SC_VERSION;?>" /><!-- Dejar para estadisticas por favor! -->
<title><? echo $titulo.' '.APP_NAME;?> - <?=TAG_LINE;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="<?=LANG;?>" />
<link href="<?=URL_SCRIPT;?>estilo.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?=PATH_SCRIPT;?>favicon.ico" type="image/x-icon" />
</head>
<body>
<div id="top">
    <div id="logo">
      <a href="<?=URL_SCRIPT;?>"><img src="<?=PATH_SCRIPT;?>site-img/logo.png" alt="<?=APP_NAME;?>" /></a>
    </div>
    <div id="tagline"><?=TAG_LINE;?></div><div id="limite">JPG PNG BMP GIF <span>Max.<?=$max_mb;?>Mb</span></div>
</div>
<div id="contenido">
<div id="selector_up">
</div> 
  <p>&nbsp;</p>
  <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, 
    sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam 
    erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea 
    rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum 
    dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed 
    diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, 
    sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. 
    Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit 
    amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy 
    eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. 
    At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, 
    no sea takimata sanctus est Lorem ipsum dolor sit amet. Duis autem vel eum 
    iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel 
    illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto 
    odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore 
    te feugait nulla facilisi. Lorem ipsum dolor sit amet, </p>
</div>

<div id="foot"><div class="foot-d2"><?=APP_NAME;?> - <a href="gallery.php">Gallery</a> - Powered by <a href="http://chevereto.com/" target="_blank">Chevereto</a></div></div>

</body>
</html>

Save the file as tos.php into the root chevereto dir. Instead of the random lorem ipsum text u can place ur terms of service.

Now open index.php and find

<div id="foot"><div class="foot-d2"><?=APP_NAME;?>, Powered by <a href="http://chevereto.com/" target="_blank">Chevereto</a></div></div>

and replace it with

<div id="foot"><div class="foot-d2"><?=APP_NAME;?>, Powered by <a href="http://chevereto.com/" target="_blank">Chevereto</a> <a href='tos.php' >Terms of service</a></div></div>

Thumbs up

Re: How to make custom pages ? e.g Terms of Use

Thanks wink