//Тут не выводит значение.
<? include 'MyFramework\WorkWithBase.php'; echo $numberMessage = Timer($Login);?> </div></div></a>
<a href='index.php'> <img style='width:35px;height:35px;padding-top:10px;' src='images/close.png'> </a>
</div>
<div align="center" style="color:white; padding-top:20px;">
<h1>.::Wellcome to GuestBook::.</h1>
</div
<div align="center">
<form method="get" action="#" style="color:white;">
<label for="first_name">Имя:</label><br/>
<input type="text" style="border-radius: 7px 7px 7px 7px; border-style: solid;" name="first_name" size="30"><br/>
<!-- <label for="Date">Дата:</label><br/>
<input type="date" name="Date" size="30"><br/> -->
<label for="E-Mail">E-Mail:</label><br/>
<input style="border-radius: 7px 7px 7px 7px; border-style: solid;" type="text" name="E-Mail" size="30"><br/><br/>
<input style="border-radius: 7px 7px 7px 7px;" id="submit" type="submit" value="Найти и вывести"><br/>
</form>
<? Код пхп который скидывал ранее?>
<div id="pagination" style="font-size: 23px;">
<span style="color:white;">Страницы: </span>
<?php if ($active != 1) { ?>
<a href="<?=$url?>" title="Первая страница"><<<</a>
<a href="<?php if ($active == 2) { ?><?=$url?><?php } else { ?><?=$url_page.($active - 1)?><?php } ?>" title="Предыдущая страница"><</a>
<?php } ?>
<?php for ($i = $start; $i <= $end; $i++) { ?>
<?php if ($i == $active) { ?><span style="background: white;border-radius: 5px;font-size: 28px;"><?=$i?></span><?php } else { ?><a href="<?php if ($i == 1) { ?><?=$url?><?php } else { ?><?=$url_page.$i?><?php } ?>"><?=$i?></a><?php } ?>
<?php } ?>
<a href="<?=$url_page.($active + 1)?>" title="Следующая страница">></a>
<a href="<?=$url_page.$count_pages?>" title="Последняя страница">>>></a>
<?php } ?>
</div>
<!-- END Pagination -->
<br>
</div>
<div style="min-width: 1300px; width:100%; height:260px; background:black; background-color:rgba(0, 0, 0, 0.7); margin-top: 10%;">
<form method="post" value="Отправить" action="New.php" enctype="multipart/form-data">
<div style="color: white;" bgcolor="black">
<div style="float:left; padding-left:20px; padding-right:10px; padding-top:10px;">
<div style="float:left;">
<div>
<div>
* Имя:
</div>
<div align="left">
<input type="text" style="border-style: solid;border-radius: 7px 7px 7px 7px;" id="mess" name="msg_from" value="<?echo $Login;?>" placeholder="<?if($Login==Null){echo"Авторезуйтесь";}?>"maxlength="40" size="20">
</div>
</div>
</div>
<br>
<br>
<br>
<br>
<div style="float:left;">
<div>
<div>
E-Mail:
</div>
<div align="left">
<input type="text" style="border-style: solid; border-radius: 7px 7px 7px 7px;" value="<?echo $mail;?>" placeholder="<?if($mail==Null){echo"Авторезуйтесь";}?>" name="msg_mail" maxlength="40" style="margin-right:50px;" size="20">
</div>
</div>
</div>
<br>
<br>
<br>
<br>
<br>
</div>
<br>
<label>
<div class="picFooter" style="width:320px; height:200px; float:left; position:absolute; border-style:groove; float:left; margin-left:250px;"> <img style="width:130px; height:130px; padding: 30px 100px; opacity: .06;" src="images/fotik.png">
<input type="file" id="filesPic" name="filesName" style="display: none" multiple />
</div>
<output id="list" style="width:200px; height:200px; float:left; padding-left:49px;"></output>
<div>
</label>
<div>
<div style="padding-left:700px">
<div>
* Сообщение:
</div>
<div>
<textarea cols="80" rows="7" id="message" name="msg_message" style="border-radius: 7px 7px 7px 7px;border-style: solid;"></textarea>
</div>
<!--Файл:<input type="file" id="filesPic" name="filesName" multiple />-->
</div>
<div>
</div>
</div>
<div>
<div style="padding-left:1000px;padding-bottom:10px;">
<input type="submit" style="border-radius: 7px 7px 7px 7px;" name="msg_submit" value="Отправить">
<input type="reset" style="border-radius: 7px 7px 7px 7px;">
</div>
</div>
</div>
</div>
</form>
</div>
if($first_name != null and $Email != null){$query = "SELECT * FROM `Users` WHERE Users='$first_name'";}
else if($Email != null) {$query = "SELECT * FROM `Users` WHERE Mail='$Email'";}
else if($Email != null and $first_name != null) {$query = "SELECT `Users`.* ,`RegUsers`.* FROM `Users` LEFT JOIN `RegUsers` ON `Users`=`Log` WHERE Mail='$Email' and Users='$first_name'";}
else if($Email != null and $first_name == null) {$query = "SELECT `Users`.* ,`RegUsers`.* FROM `Users` LEFT JOIN `RegUsers` ON `Users`=`Log` WHERE Mail='$Email'";}
else if($Email == null and $first_name != null) {$query = "SELECT `Users`.* ,`RegUsers`.* FROM `Users` LEFT JOIN `RegUsers` ON `Users`=`Log` WHERE Users='$first_name'";}
else $query = 'SELECT `Users`.* ,`RegUsers`.* FROM `Users` LEFT JOIN `RegUsers` ON `Users`=`Log` LIMIT '.(($active*3)-3).",3";
var idEdit = $(".agaxEdit").attr('id');
//тут скорее всего не правильно.
$(".agaxEdit").click(function(){
////////////////////////
}
21 строка: public function dec($h) {
22 строка: $s = array(1=>1, 2=>2, 3=>3, 4=>4, 5=>5, 6=>6, 7=>7, 8=>8, 9=>9,'a'=>10, 'b'=>11, 'c'=>12, 'd'=>13, 'e'=>14, 'f'=>15, 16=>16 );
23 строка: return $h ? 16*dec(substr($h, 0, -1)) + $s[substr($h, -1)] : 0;}