Commit c5bf7955 authored by Seblu's avatar Seblu
Browse files

multiple modifications

change home page
remove database access to contact page
parent 06159671
Loading
Loading
Loading
Loading
+71 −29
Original line number Diff line number Diff line
@@ -72,7 +72,6 @@ img {
    background: #303030;
    border-left: 1px solid #646464;
    border-right: 1px solid #646464;

    width: 901px;
    margin: 0 auto;
}
@@ -171,7 +170,6 @@ img {
*/

div#newsbox {
    /*width: 530px;*/
    margin: 0px 15px 20px 15px;
}

@@ -194,6 +192,76 @@ div#newsbox h1 {
    border-bottom: 1px solid #303030;
}


div#lastnewsbox {
    width: 530px;
    margin: 0px 15px 20px 15px;
}

div#lastnewsbox ul {
    background: #1D1D1D;
    padding: 15px;
}

div#lastnewsbox li {
    display: block;
}

div#lastnewsbox h1 {
    height: 26px;
    font-size: 14px;
    font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
    padding: 10px;
    background: #1D1D1D;
    color: #B8B8B8;
    border-bottom: 1px solid #303030;
}

div#memberbox {
    /*width: 530px;*/
    margin: 0px 15px 20px 15px;
}

div#memberbox ul {
    background: #1D1D1D;
    padding: 15px;
}

div#memberbox li {
    display: block;
}

div#memberbox h1 {
    height: 26px;
    font-size: 14px;
    font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
    padding: 10px;
    background: #1D1D1D;
    color: #B8B8B8;
    border-bottom: 1px solid #303030;
}

div#editobox {
    margin: 0px 15px 20px 15px;
}

div#editobox table {
    background: #1D1D1D;
    font-size: 12px;
    padding: 5px;
}

div#editobox h1 {
    height: 26px;
    font-size: 20px;
    font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
    padding: 10px;
    background: #1D1D1D;
    color: #B8B8B8;
    border-bottom: 1px solid #303030;
}


.rightbox a {
    text-decoration: none;
    color: #cccccc;
@@ -238,6 +306,7 @@ div.rightbox h1 {
    padding: 0px;
    margin: 0px;
    background: #303030;
    width: 901px;
}

#left_side {
@@ -298,33 +367,6 @@ div#menu
    height: 130px;
}

/*
  #right_side li a:hover {
  color: #cfc5ab;
  height: 26px;
  font: 10px Verdana, "Lucida Grande", Tahoma, Helvetica, Sans-Serif;
  text-decoration: none;
  }

#right_side li {
display: block;
list-style-type: none;
padding: 0;
margin: 0;
}

#right_side ul {
margin: 0px 0px 0px 10px;
}

#right_side li a,span{
color: #aaa28b;
height: 26px;
font: 10px Verdana, "Lucida Grande", Tahoma, Helvetica, Sans-Serif;
text-decoration: none;
}
*/

#right_side h2 {
    color: #aaa28b;
    margin: 10px 0px 0px 0px;
+12 −19
Original line number Diff line number Diff line
<?

function dispAdminHome() {

include_once "include/admin_tables.php";
@@ -7,13 +6,11 @@ include_once "include/admin_menu.php";
include_once "include/admin_videos.php";
include_once "include/admin_news.php";
include_once "include/admin_edito.php";
include_once "include/admin_links.php";
include_once "include/admin_members.php";
include_once "include/admin_users.php";
include_once "include/admin_blacklist.php";
include_once "include/postfix.php";

if ($_SESSION["user_right"] >= $GLOBALS["REPORTER"] )
{
  if ($_SESSION["user_right"] >= $GLOBALS["MEMBRE"]) {
    $str = '<div id="all_side">';
    $str .= '<table width="100%">
		<tr>
@@ -41,7 +38,6 @@ if ($_SESSION["user_right"] >= $GLOBALS["REPORTER"] )
							<table width="100%" cellpadding="2" cellspacing="2" align="center">';

      $str .= dispAdminMenu();

      $str .= '
							</table>
							</td>
@@ -60,10 +56,7 @@ $str .= '
	$section_admin= $_GET['section_admin'];
	$str .= $tab_section_admin[$section_admin]();
      }
				else
				{


      else {
	$total_size_videos = 0;
	$nb_videos_publics = 0;
	$nb_videos_tendus = 0;
+13 −10
Original line number Diff line number Diff line
<?php

function dispAdminMembers () {


  if ($_SESSION["user_right"] < $GLOBALS["EPTV"] )
	{
    return("T'es ouf");
	}

  get_time();

@@ -228,6 +224,9 @@ function dispAdminAddMember() {
			    <TD> <INPUT TYPE="text" NAME="member_get_mail" VALUE="" SIZE="30" MAXLENGTH="30"> </TD>
			    </TR>

			    <TR><TD> Alias: </TD>
			    <TD> <INPUT TYPE="text" NAME="member_get_alias" VALUE="" SIZE="30" MAXLENGTH="30">@eptv.fr </TD>
			    </TR>

			    <TR><TD> Num&eacute;ro de t&eacute;l&eacute;phone: </TD>
			    <TD> <INPUT TYPE="text" NAME="member_get_tel" VALUE="" SIZE="10" MAXLENGTH="10"> </TD>
@@ -301,7 +300,7 @@ function dispAdminAddMember() {
			    </TR>

			    <TR>
				    <TD>Ajouter  la mailing</TD>
				    <TD>Ajouter  la mailing< list staff</TD>
				    <TD>
				    <INPUT TYPE="checkbox" NAME="auto_mailing_member" VALUE = 1 checked> Oui
				    </TD>
@@ -393,6 +392,10 @@ $str = '
		    <TD> <INPUT TYPE="text" NAME="member_get_mail" VALUE="'.$user["user_mail"].'" SIZE="50" MAXLENGTH="50"> </TD>
		    </TR>

		    <TR><TD> Alias: </TD>
		    <TD> <INPUT TYPE="text" NAME="member_get_mail" VALUE="'.$user["user_alias"].'" SIZE="50" MAXLENGTH="50">@eptv.fr</TD>
		    </TR>

    		    <TR><TD> Tel: </TD>
		    <TD> <INPUT TYPE="text" NAME="member_get_tel" VALUE="'.$user["user_tel"].'" SIZE="10" MAXLENGTH="10"> </TD>
		    </TR>
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ function dispAdminMenu() {
    $str .= '<div><a href="index.php?html=AdminHome&section_admin=AdminBlacklist" class="texte_link">Blacklist</a></div>';
    $str .= '<div><a href="munin/" target="_blank" class="texte_link">Munin</a></div>';
    $str .= '<div><a href="phpmyadmin/" target="_blank" class="texte_link">PHPMyAdmin</a></div>';
    $str .= '<div><a href="mailman/admin/" target="_blank" class="texte_link">Mailman</a></div>';
  }
  return $str;
}
 No newline at end of file
+0 −3
Original line number Diff line number Diff line
<?php


$tab_section_admin = array();

$tab_section_admin[AdminVideos] = dispAdminVideos;
@@ -77,6 +76,4 @@ $tab_section_admin[ModifBlacksite] = adminModifBlacksite; // sql modif site
$tab_section_admin[AdminDelBlacksite] = dispAdminDelBlacksite; 		// disp admin del site for a blacklisted
$tab_section_admin[DelBlacksite] = 	adminDelBlacksite; 		  // sql del site forxs a blacklisted



?>
 No newline at end of file
Loading