fil med design:
her er alt head koden samlet.
<html>
<head>
<title>%title%</title>
<STYLE type=text/css>A:link {text-decoration: none;}A:visited {text-decoration: none;}A:hover {text-decoration: underline;}.notes {border: solid; border-width: 1px; padding: 2px}</STYLE><style>input, textarea {background-color: transparent;}</style>
<style type="text/css">
.standard {color: black; font-family: verdana, arial, helvetica, sans-serif; font-size: 9 pt}
.small {color: black; font-family: verdana, arial, helvetica, sans-serif; font-size: 7 pt}
</style>
</head>
<body bgcolor="white" text="black" link="black" vlink="black" alink="black" background="images/bg.jpg">
<table align="center" border="1" cellspacing="0" width="80%" bordercolor="white" bordercolordark="white" bordercolorlight="#336699" bgcolor="white">
<tr>
<td width="80%" colspan="2" bordercolor="white" bordercolordark="white" bordercolorlight="#336699">
<div align="left">
<table border="0" width="100%">
<tr>
<?
include('
http://www.queze.dk/include/top_logo.php');
?>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td width="106" valign="top" background="
http://www.queze.dk/images/side_image_left_sidemenu.jpg"><?
include('
http://www.queze.dk/include/menu2.php');
?>
</td>
<td width="100%" valign="top">
<table border="0" cellpadding="10" width="100%" height="100%">
<tr>
<td width="100%" valign="top">
<?php
include("global.inc.php");
$admin = is_admin();
$return = numlinks_array(); // Build array of number of links in each category
$numlinks = $return[0];
$numlinkstree = $return[1];
if ((!$cat) && (!$go) && (!$action))
$cat = 0;
if (isset($go))
{
jump_to($go);
}
if ($action == "login")
{
if ($username)
login($username, $password);
}
if ($action == "loginform")
{
echo html_header("$sitename - Links Login");
echo ss_template('login_form.tmpl');
echo html_footer();
exit;
}
if ($action == "logout")
{
logout();
}
if ($action == "rate")
{
do_rating($id, $score);
}
if ($action == "build")
{
build_numlinks();
echo html_header('Build Complete');
echo ss_template('links_built.tmpl');
echo html_footer();
exit;
}
if ($action == "addlink")
{
add_link($link_name, $link_url, $link_desc, $link_cat, $link_recommended);
}
if ($action == "addcat")
{
add_cat($lcat_name, $lcat_header, $lcat_cat, $lcat_ranking);
}
if ($action == "delcat")
{
del_cat($id);
}
if ($action == "reclink")
{
rec_link($cat);
}
if ($action == "dellink")
{
delete_link($id);
}
if ($action == "editlink")
{
edit_link($id);
}
if ($action == "validate")
{
validate_list();
}
if ($action == "vallink")
{
val_link($id);
}
if ($action == "search")
{
show_searchpage();
}
if ($action == "reject_link")
{
reject_link($id);
}
if ($action == "newlinks")
{
new_links($days);
}
if ($action == "popular")
{
popular_links();
}
if ($action == "rated")
{
top_rated();
}
if ($action == "editcat")
{
edit_cat($id);
exit;
}
if ($search)
{
search_results($search);
}
// if all else fails then show normal page
if (!ereg("^[0-9]+$", $cat))
$cat = 0;
$breadcrumbshtml = do_breadcrumbs($cat);
$html = cats_table($cat);
echo html_header("$sitename - Links");
if ($cat == 0)
$cat = '0';
echo ss_template('category_header.tmpl', array('%breadcrumbs%' => $breadcrumbshtml, '%catid%' => $cat));
echo get_catheader($cat);
echo cats_table($cat);
$linkshtml = show_links($cat);
if ($linkshtml)
{
echo $linkshtml;
}
else
{
echo ss_template('category_nolinks.tmpl');
}
if ($admin)
{
echo admin_options($cat);
}
echo html_footer();
exit;
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
include('
http://www.queze.dk/include/sp_bund.php');
?>
</body>
</html>
</script>
i en config fil bliver 2 filer inkluderet.
har tømt dem for kode da de kun indeholdte en ramme