mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:07:03 +02:00
added rc script
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
|
||||
<div class="rightcell">
|
||||
<div class="logout22">
|
||||
<?php if(isset($_SESSION['realname'])) { print $text_realname; ?>: <?php print $_SESSION['realname']; ?>, <?php } ?> <a class="logout" href="index.php?route=login/logout"<?php if(strstr($_SERVER['QUERY_STRING'], "login/logout")){ ?> id="active"<?php } ?>><?php print $text_logout; ?></a>
|
||||
<?php if(isset($_SESSION['realname'])) { print $text_realname; ?>: <?php print $_SESSION['realname']; ?>, <?php } ?> <a class="logout" href="logout.php"<?php if(strstr($_SERVER['QUERY_STRING'], "login/logout")){ ?> id="active"<?php } ?>><?php print $text_logout; ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -3,16 +3,30 @@
|
||||
<div class="row">
|
||||
|
||||
<div class="leftcell">
|
||||
<ul class="dropdown">
|
||||
<li class="first_li"><a href="search.php"<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> id="active"<?php } ?>><?php print $text_search; ?></a></li>
|
||||
<li class="center_li"><a href="advanced.php"<?php if(strstr($_SERVER['REQUEST_URI'], "advanced.php")){ ?> id="active"<?php } ?>><?php print $text_advanced_search; ?></a></li>
|
||||
<li class="last_li"><a href="settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a></li>
|
||||
</ul>
|
||||
<div id="ss1">
|
||||
<div class="row">
|
||||
<div class="mcell" style="width: 80px;">
|
||||
</div>
|
||||
<div class="mcell" style="width: 315px;">
|
||||
|
||||
<ul class="dropdown">
|
||||
<li class="search_li"><a href="search.php"<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> id="active"<?php } ?>><?php print $text_simple_search; ?></a></li>
|
||||
<li class="search_li"><a href="advanced.php"<?php if(strstr($_SERVER['REQUEST_URI'], "advanced.php")){ ?> id="active"<?php } ?>><?php print $text_advanced_search; ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="mcell" style="width: 95px;">
|
||||
<ul class="dropdown">
|
||||
<li class="last_li" style="text-align: right; float: right;"><a href="settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="rightcell">
|
||||
<div class="logout22">
|
||||
<?php if(isset($_SESSION['realname'])) { print $text_realname; ?>: <?php print $_SESSION['realname']; ?>, <?php } ?> <a class="logout" href="index.php?route=login/logout"<?php if(strstr($_SERVER['QUERY_STRING'], "login/logout")){ ?> id="active"<?php } ?>><?php print $text_logout; ?></a>
|
||||
<?php if(isset($_SESSION['realname'])) { print $text_realname; ?>: <?php print $_SESSION['realname']; ?>, <?php } ?> <a class="logout" href="logout.php"<?php if(strstr($_SERVER['QUERY_STRING'], "login/logout")){ ?> id="active"<?php } ?>><?php print $text_logout; ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
<?php if(!isset($_SESSION['username'])){ ?>
|
||||
<form name="login" action="index.php?route=login/login" method="post">
|
||||
<input type="hidden" name="relocation" value="<?php if(isset($_GET['route']) && !preg_match("/^login/", $_GET['route']) ) { print $_SERVER['QUERY_STRING']; } ?>" />
|
||||
<form name="login" action="login.php" method="post">
|
||||
<input type="hidden" name="relocation" value="<?php if(isset($_GET['route']) && !preg_match("/^login/", $_GET['route']) ) { if(isset($_SERVER['REDIRECT_URL'])) { print $_SERVER['REDIRECT_URL']; } else { print $_SERVER['QUERY_STRING']; } } ?>" />
|
||||
|
||||
|
||||
<div id="search">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<p>
|
||||
|
||||
<?php print $text_logged_out; ?>. <a href="index.php?route=login/login" class="messagelink"><?php print $text_back; ?></a>
|
||||
<?php print $text_logged_out; ?>. <a href="login.php" class="messagelink"><?php print $text_back; ?></a>
|
||||
|
||||
</p>
|
||||
|
@ -101,7 +101,7 @@
|
||||
</div>
|
||||
|
||||
<div id="search2">
|
||||
<div id="A1"></div>
|
||||
<div id="A1"><a href="expert.php"><?php print $text_expert_search; ?></a></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div id="search">
|
||||
<div id="search1">
|
||||
|
||||
<div id="ss1" style="border: 0px solid red;">
|
||||
<div id="ss1">
|
||||
|
||||
<input type="hidden" name="searchtype" id="searchtype" value="expert" />
|
||||
|
||||
@ -13,9 +13,9 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div id="ss1" style="border: 0px solid blue;">
|
||||
<div id="ss1">
|
||||
<div class="row">
|
||||
<div class="cell1s"><?php print $text_search_terms; ?>: </div>
|
||||
<div class="cell1s" style="width: 75px;"><?php print $text_search; ?>: </div>
|
||||
<div class="cell2"><input type="text" id="_search" name="_search" class="advtext" style="width: 100%;" value="<?php if(isset($_search)) { print $_search; } ?>" /></div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user