Ejemplo n.º 1
0
?>
</title>
		<link rel="stylesheet" type="text/css" href="<?php 
echo templateDirectory();
?>
/style.css" />
	</head>
<body>
	<div id="headerwrap">
		<div id="header">
			<h1><?php 
printBreadcrumb();
?>
</h1>
			<form action="<?php 
echo scriptPath();
?>
" method="get">
			<?php 
// adds the current directory "&directory=blubb/blabl" to the url
?>
			<input type="hidden" name="directory" value="<?php 
echo currentDirectory();
?>
" />
			<ul>
				<?php 
// simple history-back js-command
?>
				<li><a href="javascript:history.back()" onclick="history.back()"><?php 
imgTagIcon('back', 'Back');
Ejemplo n.º 2
0
loadPageTitle();
?>
</title>
    <?php 
BsocketB('public-xhtml-head1');
?>
    <link rel="stylesheet" type="text/css" href="<?php 
cssLocation();
?>
" />
    <link rel="shortcut icon" href="theme/images/favicon.ico" type="image/x-icon"/>
    <?php 
BsocketB('public-xhtml-head2');
?>
    <script type="text/javascript" src="<?php 
scriptPath();
?>
navbar.js"></script>
</head>
<body>
    <div id="brace">
    <div id="pageframe">
    <div id="pageframer">
        <div id="headermid">
        <div id="headerr">
        <div id="header">
            <h1><?php 
loadSettings('sitename');
?>
</h1>
            <h2><?php 
Ejemplo n.º 3
0
function tmpPathInsert()
{
    // DO Removed 9-5-2008 scriptPath() is more reliable and works with Friendly URL's
    //return vgfGet("tmpPathInsert");
    return scriptPath();
}
Ejemplo n.º 4
0
function sortLink($key, $text)
{
    if (userSortActive()) {
        $sortlink = "<a ";
        if (sortKey() == $key) {
            $classorder = str_replace(array('SORT_ASC', 'SORT_DESC'), array('asc', 'desc'), sortOrder());
            $sortlink .= 'class="' . $classorder . '" ';
            $linkorder = sortOrder(true);
            // adesc
        } else {
            $linkorder = "SORT_ASC";
        }
        $sortlink .= ' href="' . scriptPath() . '?sortkey=' . $key . '&sortorder=' . $linkorder . '&directory=' . currentDirectory();
        if (searchTag() != '') {
            $sortlink .= '&search=' . searchTag();
        }
        $sortlink .= '">' . $text . '</a>';
    } else {
        $sortlink = $text;
    }
    echo $sortlink;
}