<?php $title = 'Настройки'; include '/php/phplogin.php'; include '/includes/headerin.php'; strlenfunc('Име', $uni['uniname'], 100); strlenfunc('Град', $uni['city'], 100); strlenfunc('Мото', $uni['moto'], 100); strlenfunc('Ел. поща', $uni['email'], 100); strlenfunc('Website', $uni['website'], 100); if (isset($_GET['passnc'])) { echo '<div style="color:#fff;">Паролата не беше променена!<br>' . 'Допустима дължина на паролата: <b>от 5 до 50</b> символа.<br>' . 'За да увеличите сигурността на Вашата парола Ви препоръчваме да използвате числа <b>(0-9)</b> и латински букви <b>(a-z)</b>, както и някои специални символи <b>(_-/@)</b>.</div>'; } if (isset($_GET['passc'])) { echo '<div style="color:#fff;">Паролата беше променена успешно!<br></div>'; } ?> <div class='maincontent'> <div class="fffbackg" style='width: 500px;'> <div class="inheading"> <h2><?php echo $title; ?> </h2><img class="imglogoin" src="/test/<?php echo $uni['pic_logo']; ?> " title="" alt=""/> <h1><?php echo $uni['uniname']; ?>
<?php $title = 'Редактор - Специалност'; include '/php/phplogin.php'; include '/includes/headerin.php'; if (!isset($_GET['name'])) { header("location: /inhome.php"); } redactsd($con, $_GET['name']); strlenfunc('Име', $sdd['spec_name'], 50); strlenfunc('Изисквания', $sdd['ned_docs'], 450); strlenfunc('Как да кандидатстваме?', $sdd['to_expect'], 2500); strlenfunc('Какво ни очаква?', $sdd['to_apply'], 2500); ?> <div class='maincontent'> <div class="fffbackg"> <form method="POST" <?php echo 'action="/php/phplogin.php?name=' . $_GET['name'] . '"'; ?> > <div class="inheading"> <h2><?php echo $title; ?> </h2><img class="imglogoin" src="/test/<?php echo $uni['pic_logo']; ?> " title="" alt=""/> <h1><?php echo $uni['uniname']; ?>
<?php $title = 'Редактор - Важни дати'; include '/php/phplogin.php'; include '/includes/headerin.php'; if (!isset($_GET['name'])) { header("location: /inhome.php"); } $ddid = $_GET['name']; redactimpd($con, $ddid); strlenfunc('Описание', $sdd['date_descript'], 450); strlenfunc('Име', $sdd['date_name'], 50); ?> <div class='maincontent'> <div class="fffbackg"> <div class="inheading"> <h2><?php echo $title; ?> </h2><img class="imglogoin" src="/test/<?php echo $uni['pic_logo']; ?> " title="" alt=""/> <h1><?php echo $uni['uniname']; ?> </h1> </div> <form method='POST' <?php echo 'action="/php/phplogin.php?name=' . $ddid . '"';
<?php $title = 'Редактор - Важни Бележки'; include '/php/phplogin.php'; include '/includes/headerin.php'; if (!isset($_GET['name'])) { header("location: /inhome.php"); } redactimpn($con, $_GET['name']); strlenfunc('Бележка', $sdd['note_txt'], 450); ?> <!--<script>alert('<?php //echo $sdd['note_txt']; ?> '.length);</script>--> <div class='maincontent'> <div class="fffbackg"> <div class="inheading"> <h2><?php echo $title; ?> </h2><img class="imglogoin" src="/test/<?php echo $uni['pic_logo']; ?> " title="" alt=""/> <h1><?php echo $uni['uniname']; ?> </h1> </div>
<?php $title = 'Описание'; include '/php/phplogin.php'; include '/includes/headerin.php'; strlenfunc('За университета', $uni['about_uni'], 2500); strlenfunc('Научи повече', $uni['learn_more'], 2500); /* $unidesc = unidesc_red($con); */ ?> <div class='maincontent'> <form method='POST' action="/php/phplogin.php"> <div class="fffbackg"> <div class="inheading"> <h2>За университета</h2> <h1><?php echo $uni['uniname']; ?> </h1> </div> <div class="menuonpage"> <div class="datenote"> <a href="/imp_dates.php" ><img alt='ImpDates' title='Важни дати' src='/img/datesimp.png'/></a> <a href="/imp_notes.php"><img alt='ImpNotes' title='Важни бележки' src='/img/notesimp.png'/></a> <a href="/inhome.php" ><img style='background:#ddd;' alt='Home' title='Начало' src='/img/home.png'/></a> </div> <div><img id="secondb" class="infob" src="img/info.png" alt="info" title="Информация"/> <ul class="menu"> <li><input name="unidesc_red" class="opbutton" type="submit" value="ЗАПАЗИ"> <a class="clbutt" href="/unipage.php?name=<?php echo $_SESSION['id'];