0byt3m1n1-V2
Path:
/
home
/
nlpacade
/
www.OLD
/
adminnlp
/
[
Home
]
File: admin.php
<?php include_once("pre.php"); include_once("../classes/Administrateur.class.php"); include_once("../classes/Variable.class.php"); include_once("../classes/Statutdesc.class.php"); session_start(); ?> <?php $rsscmd = new Variable(); $rsscmd->charger("rsspass"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <?php include_once("title.php");?> <!--[if lte IE 7]> <link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" /> <![endif]--> <!--<script type="text/javascript" src="js/scripts/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="js/scripts/simpla.jquery.configuration.js"></script> <script type="text/javascript" src="js/scripts/facebox.js"></script> <script type="text/javascript" src="js/scripts/jquery.wysiwyg.js"></script> <script type="text/javascript" src="js/scripts/jquery.datePicker.js"></script> <script type="text/javascript" src="js/scripts/jquery.date.js"></script>--> <!--[if IE]><script type="text/javascript" src="js/scripts/jquery.bgiframe.js"></script><![endif]--> <!-- Internet Explorer .png-fix --> <!--[if IE 6]> <script type="text/javascript" src="js/scripts/DD_belatedPNG_0.0.7a.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('.png_bg, img, li'); </script> <![endif]--> <link media="screen" rel="stylesheet" href="css/master.css" /> <link rel="stylesheet" href="css/screen.css" media="screen"/> <script src="js/jquery-1.3.2.min.js"></script> <link rel="stylesheet" href="color/kolorpicker.css" type="text/css" /> <script src="color/jquery.kolorpicker.js"></script> <script type="text/javascript"> $(document).ready(function(){ //alert('sqdqs'); $('#couleur').addClass('kolorPicker'); $("#mainform a").click(function(){ action = 'php/admin/modif.php' $('#lightbox_form').attr('action',action); title = $(this).attr("nom"); if(title=="edit"){ $('div#close, div#mask').click(function() { $('div#contact, div#mask').stop().fadeOut('slow'); }); $(function() { // scroll to top $('html, body').animate({scrollTop:0}, 'fast'); // before showing the modal window, reset the form incase of previous use. $('.success, .error, .delete').hide(); //show the mask and contact divs $('#mask').show().fadeTo('', 0.7); $('div#contact').fadeIn(); // stop the modal link from doing its default action return false; }); id = $(this).attr('id'); $('#id').val(id); $.ajax({ type: 'POST', url: 'php/admin/modif2.php', data: 'id='+id, success: function(retour){ chaine = retour.split('**'); $('#modif_login').val(chaine[0]); $('#modif_password').val(chaine[1]); } }); return false; } }); $('.example8').click(function(){ $('#modif_login').val(''); $('#modif_password').val(''); action = 'php/admin/add.php' $('#lightbox_form').attr('action',action); $('div#close, div#mask').click(function() { $('div#contact, div#mask').stop().fadeOut('slow'); }); $(function() { // scroll to top $('html, body').animate({scrollTop:0}, 'fast'); // before showing the modal window, reset the form incase of previous use. $('.success, .error, .delete').hide(); //show the mask and contact divs $('#mask').show().fadeTo('', 0.7); $('div#contact').fadeIn(); // stop the modal link from doing its default action return false; }); if(title=="edit"){ id = $(this).attr('id'); $('#id').val(id); $.ajax({ type: 'POST', url: 'php/admin/modif2.php', data: 'id='+id, success: function(retour){ chaine = retour.split('**'); $('#modif_login').val(chaine[0]); $('#modif_password').val(chaine[1]); } }); } return false; }) <?php if(!isset($_GET['action'])){?> $('div table tr th:first-child').html(''); <?php }?> }); </script> </head> <?php include_once("../classes/Client.class.php"); include_once("../classes/Produit.class.php"); include_once("../classes/Commande.class.php"); include_once("../extlib/Snoopy.class.inc"); ?> <body> <div id="page-top-outer"> <!-- Start: page-top --> <div id="page-top"> <img src="images/login/logo.png" alt="" style="margin-top:14px;" /> <!-- start logo --> <div id="logo"> <!--<a href=""><img src="images/shared/logo.png" width="156" height="40" alt="" /></a>--> </div> </div> <!-- End: page-top --> </div> <!-- End: page-top-outer --> <div class="clear"> </div> <?php $menu="accueil"; //include_once("entete.php"); ?> <?php include_once("shotcurts.php"); ?> </div> <!-- start nav-outer-repeat................................................... END --> <div class="clear"></div> <!-- start content-outer ........................................................................................................................START --> <div id="content-outer"> <!-- start content --> <div id="content"> <!-- start page-heading --> <div id="page-heading"> </div> <!-- end page-heading --> <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table"> <tr> <th rowspan="3" class="sized"><img src="images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th> <th class="topleft"></th> <td id="tbl-border-top"> </td> <th class="topright"></th> <th rowspan="3" class="sized"><img src="images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th> </tr> <tr> <td id="tbl-border-left"></td> <td> <!-- start content-table-inner ...................................................................... START --> <div id="content-table-inner"> <!-- start table-content --> <div id="table-content"> <!-- start message-green --> <div id="message-green"> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="green-left">Calendrier<a href="page.php?page=ae"></a></td> <td class="green-right"><a class="close-green"><img src="images/table/icon_close_green.gif" alt="" /></a></td> </tr> </table> </div> <!-- end message-green --> <!-- start product-table ..................................................................................... --> <table border="0" width="700" cellpadding="0" cellspacing="0" style=" width:100%;" > <tr> <td><?php include('admin/calendar/calender.php'); ?></td> </tr> </table> </div> <div class="clear"></div> </div> </td> <td id="tbl-border-right"></td> </tr> <tr> <th class="sized bottomleft"></th> <td id="tbl-border-bottom"> </td> <th class="sized bottomright"></th> </tr> </table> <div class="clear"> </div> </div> <!-- end content --> <div class="clear"> </div> </div> <!-- end content-outer........................................................END --> <?php include_once("pied.php"); ?>
©
2018.