38,15 → 38,17 |
$colspan=1; |
} |
?> |
<html><head><title>Voucher creation</title> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" > |
<head> |
<title>Voucher creation</title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>"> |
<link rel="stylesheet" href="/css/style.css"> |
<link rel="stylesheet" type="text/css" href="/css/epoch_styles.css" /> |
<link rel="stylesheet" type="text/css" href="/css/epoch_styles.css"> |
<script type="text/javascript" src="/js/epoch_classes.js"></script> |
<script type="text/javascript" src="/js/fonctions.js"></script> |
<script language="javascript" type="text/javascript"> |
|
/*Insertion du calendrier */ |
/*Insert a calendar */ |
var dp_cal; |
window.onload = function () { |
dp_cal = new Epoch('epoch_popup','popup',document.getElementById('popup_container')); |
104,7 → 106,6 |
EOM; |
} |
else{ |
|
/*création de l'utilisateur*/ |
if (is_file("../lib/$config[general_lib_type]/create_user.php")) |
include("../lib/$config[general_lib_type]/create_user.php"); |
118,7 → 119,6 |
if (is_file("../lib/sql/group_info.php")) |
include("../lib/sql/group_info.php"); |
$login = $saved_login;} |
|
|
/* Si les valeurs de durée sont vide remplissage avec la valeur 'Illimitée'*/ |
/* et formatage des secondes sous le format Heure min ses*/ |
146,7 → 146,7 |
<input type="hidden" name="mms_imp" value="'.$mms_imp.'"> |
<input type="hidden" name="exp_imp" value="'.$Expiration.'"> |
</form>'; |
echo' <a href="#" onclick="document.forms[\'impression\'].submit();">Ticket</a>'; |
echo' <a href="#" onclick="document.forms[\'impression\'].submit();">';echo "$l_create_ticket</a>"; |
//fin ticket impression |
} |
else //utilisateur = adresse mac |
163,10 → 163,10 |
<input type=hidden name=create value="0"> |
<input type=hidden name=show value="0"> |
<input type=hidden name=langue_imp value='fr'> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<?php |
if($create==0){ |
echo <<<EOM |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr> |
<td class="etiquette" colspan=$colspan> |
$l_login |
281,7 → 281,7 |
print <<<EOM |
<tr> |
<td class="etiquette" colspan=$colspan> |
<a href="$help_link" target=help onclick=window.open("$help_link","help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="$l_click_for_help"><font color="blue">$desc</font></a> |
<a href="$help_link" target="help" onclick="window.open('$help_link','help','width=600,height=350,toolbar=no,scrollbars=no,resizable=yes')" title="$l_click_for_help"><font color="blue">$desc</font></a> |
</td> |
EOM; |
switch ($key){ |
308,7 → 308,7 |
break; |
default : |
print <<<EOM |
<td> |
<td> |
<select name=$oper_name> |
<option $selected[$op_eq] value="=">= |
<option $selected[$op_set] value=":=">:= |
423,11 → 423,11 |
<option value=\"pt\" >Portugês</option> |
<option value=\"ar\" >العربية</option> |
</select></td></tr>"; |
echo "</table>"; |
} |
echo "</table>"; |
if($create == 1) |
{ |
echo "<center><a href=\"user_admin.php?login=$login\">$l_show_profile</a></center>"; |
echo "<a href=\"user_admin.php?login=$login\">$l_show_profile</a>"; |
} |
else |
{ |