Location: PHPKode > projects > IntraMessenger > admin/display_updating.php
<?php 	
/*******************************************************
 **                  IntraMessenger - server          **
 **                                                   **
 **  Copyright:      (C) 2006 - 2011 THeUDS           **
 **  Web:            http://www.theuds.com            **
 **                  http://www.intramessenger.net    **
 **  Licence :       GPL (GNU Public License)         **
 **  http://opensource.org/licenses/gpl-license.php   **
 *******************************************************/

/*******************************************************
 **       This file is part of IntraMessenger-server  **
 **                                                   **
 **  IntraMessenger is a free software.               **
 **  IntraMessenger is distributed in the hope that   **
 **  it will be useful, but WITHOUT ANY WARRANTY.     **
 *******************************************************/
//
//
require ("../common/display_errors.inc.php"); 
//
//if (isset($_GET['tri'])) $tri = $_GET['tri'];  else  $tri = "";
if (isset($_GET['lang'])) $lang = $_GET['lang']; else $lang = "";
if (isset($_COOKIE['im_background_color'])) $back_color = $_COOKIE['im_background_color']; else $back_color = "";
//
define('INTRAMESSENGER',true);
require ("../common/styles/style.css.inc.php"); 
require ("../common/config/config.inc.php");
require ("lang.inc.php");
require ("../common/menu.inc.php"); // apr├Ęs config.inc.php !
//echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
echo "<html><head>";
echo "<title>[IM] " . $l_admin_display_title . "</title>";
display_header();
//echo '<META http-equiv="refresh" content="120;url="> ';
echo "</head>";
echo "<body>";
//
display_menu();
//
echo "<font face=verdana size=2>";
//echo "<B>" . $l_admin_display . "</B><BR/>";
//
//
echo '<noscript>';
echo "<div class='notice' align='center'><B>";
echo "<I>" . $l_menu_top . "</I> : <font color='red'>need javascript !</font>";
echo '</div>';
echo '</noscript>';

//
echo "<BR/>";
echo "<TABLE cellspacing='1' cellpadding='1' class='forumline'>";
echo "<TR>";
echo "<TH align='center' class='thHead'>";
echo "<font face=verdana size=3><b>&nbsp;" . $l_admin_display_options . "&nbsp;</b></font>";
echo "</TH>";
echo "</TR>";
//
echo "<TR>";
echo "<TD align='center' class='catHead'>";
echo "<font face=verdana size=3><b>&nbsp;" . $l_admin_display_menu . "&nbsp;</b></font>";
echo "</TD>";
echo "</TR>";
echo "<TR>";
//
echo "<FORM METHOD='POST' ACTION='display_update.php?'>";
echo "<TD class='row1' align='left'>";
echo "<font face=verdana size=2>";
echo "&nbsp;<INPUT name='position_menu' TYPE='radio' VALUE='T' class='genmed' ";
if (_MENU_ON == "TOP") echo "checked";
echo ">";
echo $l_menu_top . "&nbsp;<BR/>";
echo "&nbsp;<INPUT name='position_menu' TYPE='radio' VALUE='L' class='genmed' ";
if (_MENU_ON == "LEFT") echo "checked";
echo ">";
echo $l_menu_left . "&nbsp;<BR/>";
echo "&nbsp;<INPUT name='position_menu' TYPE='radio' VALUE='R' class='genmed' ";
if (_MENU_ON == "RIGHT") echo "checked";
echo ">";
echo $l_menu_right . "&nbsp;<BR/>";
echo "</TD></TR>";
//
echo "<TR>";
echo "<TD class='row1' align='left'>";
echo "<font face=verdana size=2>";
echo "&nbsp;<INPUT name='full_menu' TYPE='radio' VALUE='1' class='genmed' ";
if ($full_menu != "") echo "checked";
echo ">";
echo $l_menu_full . "&nbsp;<BR/>";
echo "&nbsp;<INPUT name='full_menu' TYPE='radio' VALUE='2' class='genmed' ";
if ($full_menu == "") echo "checked";
echo ">";
echo $l_menu_not_full . "&nbsp;<BR/>";
//
echo "</TD></TR>";
//
//
//
echo "<TR>";
echo "<TD align='center' class='row3'>&nbsp;";
echo "</TD>";
echo "</TR>";
//
//
//
echo "<TR>";
echo "<TD align='center' class='catHead'>";
echo "<font face=verdana size=3><b>&nbsp;" . $l_admin_display_style . "&nbsp;</b></font>";
echo "</TD>";
echo "</TR>";
echo "<TR>";
//
echo "<TR>";
echo "<TD class='row1' align='left'>";
echo "<font face=verdana size=2>";
echo "&nbsp;" . $l_admin_display_style_select . " : ";
echo " <select name='style'> ";
  foreach ($style_css_list as $nom_style) 
  {
    echo "<option value='" . $nom_style . "' class='genmed' ";
    if ($file_style_css == $nom_style) echo "SELECTED";
    echo ">" . $nom_style . "</option>" ;
  }
echo " </select>&nbsp;";
echo "</TD>";
//
//
//
echo "<TR>";
echo "<TD align='center' class='row3'>&nbsp;";
echo "</TD>";
echo "</TR>";
//
//
//

echo "<TR>";
echo "<TD align='center' class='catHead'>";
echo "<font face=verdana size=3><b>&nbsp;" . $l_admin_display_background_color . "&nbsp;</b></font>";
echo "</TD>";
echo "</TR>";
echo "<TR>";
//
echo "<TR>";
echo "<TD class='row1' align='left'>";
echo "<font face=verdana size=2>";
echo "&nbsp;" . $l_admin_display_color_select . " : ";
echo " <select name='back_color'> ";
echo "<option value='blue' class='genmed' ";
if ($back_color == "blue") echo "SELECTED";
echo ">" . $l_color_blue . "</option>" ;
echo "<option value='green' class='genmed' ";
if ($back_color == "green") echo "SELECTED";
echo ">" . $l_color_green . "</option>" ;
echo "<option value='pink' class='genmed' ";
if ($back_color == "pink") echo "SELECTED";
echo ">" . $l_color_pink . "</option>" ;
echo "<option value='red' class='genmed' ";
if ($back_color == "red") echo "SELECTED";
echo ">" . $l_color_red . "</option>" ;
echo "<option value='yellow' class='genmed' ";
if ($back_color == "yellow") echo "SELECTED";
echo ">" . $l_color_yellow . "</option>" ;
echo " </select>&nbsp;";
echo "</TD>";



//
//
//
echo "<TR>";
echo "<TD align='center' class='row3'>&nbsp;";
echo "</TD>";
echo "</TR>";
//
//
//
echo "<TR>";
echo "<TD align='center' class='catBottom'>";
echo "<INPUT TYPE='submit' VALUE = '" . $l_admin_bt_update . "' class='mainoption' />"; // liteoption
//echo "<input type='hidden' name='tri' value = '" . $tri . "' />";
echo "<INPUT TYPE='hidden' name='lang' value = '" . $lang . "' />";
echo "</TD>";
echo "</TR>";
echo "</FORM>";
//
echo "</TABLE>";	//
//
display_menu_footer();
//
echo "</body></html>";
?>
Return current item: IntraMessenger