?> </h4> <h4 class="fa fa-dashboard text-right"> نقش: <?php echo $userRole; ?> </h4> <h4 class="fa fa-envelope-square text-right"> ایمیل کاربری: <?php echo $currentUser['userEmail']; ?> </h4> <h4 class="fa fa-calendar text-right"> تاریخ ثبت نام: <?php echo dateconvertfromdb($currentUser['userSignDate']); ?> </h4> <h4 class="fa fa-calendar text-right"> آخرین ورود به سیستم:<?php echo dateconvertfromdb($currentUser['userLastLoginDate']); ?> </h4> </div> </div> </div> <div class="col-xs-4 pull-left"> <img src="<?php echo "include/uploads/" . $currentUser['userPic']; ?> " alt="" class="img-rounded img-responsive"/> </div> </div> </div>
?> </td> <input id="oldUserRegDate" value="<?php echo $user['userSignDate']; ?> " hidden> <td><?php echo dateconvertfromdb($user['userSignDate']); ?> </td> <input id="oldUserLastLoginDate" value=" <?php echo $user['userLastLoginDate']; ?> " hidden> <td ><?php echo dateconvertfromdb($user['userLastLoginDate']); ?> </td> <td><?php $userRoleArray = select_RoleTitle_by_RoleId($user['RoleId']); echo $userRoleArray[0]['roleTitle']; ?> </td> <td> <span class="fa fa-edit fa-2x editUser" type="button" data-toggle="modal" data-target="#myModal"> </span> </td> <td><span class="fa fa-remove fa-2x deleteUser" type="button" data-toggle="modal" data-target="#DeleteIt"> </span> </td> </tr>
while ($grp = mysql_fetch_array($grp2)) { echo "<li class=\"rmenuli link\" link=\"dash\"><span>" . $grp['name'] . "</span><ul>"; $sgrp2 = mysql_query("select * from `grp` where `mgrp`='" . $grp['id'] . "'"); while ($sgrp = mysql_fetch_array($sgrp2)) { echo "<li class=\"submenu link\" link=\"hgh\">" . $sgrp['name'] . "</li>"; } echo "</ul></li>"; } ?> </ul> </div> </td> <td><?php if ($type == 'art') { echo "<div style=\"padding:0 10px\"><div class=\"art-head\">\n <span class=\"arttitle\">" . $article['title'] . "</span>\n \n <span class=\"art-view\">" . $article['view'] . "<img src=\"img/eye.png\" class=\"eye\" /></span>\n </div>"; echo "<div class=\"art-container\">" . $article['content'] . "\n <br/><br/><br/>\n <span class=\"art-date\">انتشار: " . dateconvertfromdb($article['date']) . " - " . $article['time'] . "</span><br/></div>"; echo "</div>"; } ?> <?php if ($type == 'all') { ?> <ul class="art-ul"> <?php $art2 = mysql_query("select * from `article` where `act`=1 order by `date` desc, `time` desc"); while ($art = mysql_fetch_array($art2)) { $doc = new DOMDocument(); $doc->loadHTML($art['content']); $xml = simplexml_import_dom($doc); $images = $xml->xpath('//img'); $count = count($images);