<?php
require_once('auth.php');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>ADMIN - Výlety</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf8">
<META name="description" content="Ekovýlety">
<META name="keywords" content="Ekovýlety, exkurzie, podujatia pre školy a verejnosť">
<META name="author" content="vladimir bacik" >
<META name="copyright" content="http://www.sodbtn.sk">
<meta name="Robots" content="index,follow">
<meta name="Revisit-after" content="5">
<LINK href="styly.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/demo.css">
<body>
<br>
<center>
<table width="950" class="admin">
<tr><td class="hlava_adm" height="60">Administrácia stránky - EKOVYLETY.sk</td></tr>
<tr><td class="menu_adm" height="25">
<a class="admin" href="index.php">úvodná stránka</a>
</td></tr>
<tr><td class="hlavna">
<br>
<center>
<?php
include('identifikacia.php');
?>
<?php $member_id = $_SESSION['SESS_MEMBER_ID']; ?>
<table class="napiste" cellspacing="0" cellpadding="2" width="240"><tr>
<td class="cerveny" align="center" width="240" colspan="2">
<?php
if( isset($_SESSION['ERRMSG_ARR']) && is_array($_SESSION['ERRMSG_ARR']) && count($_SESSION['ERRMSG_ARR']) >0 ) {
echo '<b>';
foreach($_SESSION['ERRMSG_ARR'] as $msg) {
echo $msg;
}
echo '</b>';
unset($_SESSION['ERRMSG_ARR']);
}
?>
</td>
</tr>
<tr>
<script type='text/javascript'>
function notEmpty(){var themessage = "";
if(document.getElementById('passwd').value.length == 0){themessage = themessage + "Nevyplnili ste heslo"+"\n";}
if(document.getElementById('cpasswd').value.length == 0){themessage = themessage + "Nepotvrdili ste heslo"+"\n";}
if (themessage != "") {alert (themessage); return false;
}else {return true;}
}
</script>
<form method="post" action="zmena_hesla.php" enctype="multipart/form-data" onsubmit="return notEmpty();">
<td align="right" width="120">nové heslo:</td><td class="tdf1" width="120"><input class="textfield" type="password" name="passwd" value="" size="16" id="passwd"></td></tr>
<tr><td class="tdf1" align="right" width="120">potvrď heslo:</td><td class="tdf1" width="120"><input class="textfield" type="password" name="cpasswd" value="" size="16" id="cpasswd"></td></tr>
<tr><td class="tdf1"> </td><td width="120" class="tdf1">
<input type="hidden" name="member_id" value="<?php echo $member_id ?>">
<input type="submit" value="zmeniť heslo">
</form>
</td></tr>
</table>
<br><br>
</td></tr></table>
</center>
</body>
</html>
DR.KR LITE SHELL COPYRIGHT 2016