if ($t['web'] == "") { } else { echo '<tr><td><img style="padding:5px;" src="../misc/iconos/web.png"></td><td><div style="color:#3298ef"><a href="http://' . $t['web'] . '" target="_blank">' . $t['web'] . '</a></div></td></tr>'; } if ($t['Labor'] == "") { } else { echo '<tr><td><img style="padding:5px;" src="../misc/iconos/que.png"></td><td>Me dedico a ' . $t['Labor'] . '</td></tr>'; } if (date("l") == "Saturday") { echo '<tr><td><img style="padding:5px;" src="../misc/iconos/hora.png"></td><td>' . getIDSemana(6) . ' - Abierto a las ' . $at['HoraAbierta'] . ' hasta las ' . $at['HoraCierre'] . '</td></tr>'; } elseif (date("l") == "Friday") { echo '<tr><td><img style="padding:5px;" src="../misc/iconos/hora.png"></td><td>' . getIDSemana(5) . ' - Abierto a las ' . $at['HoraAbierta'] . ' hasta las ' . $at['HoraCierre'] . '</td></tr>'; } elseif (date("l") == "Thursday") { echo '<tr><td><img style="padding:5px;" src="../misc/iconos/hora.png"></td><td>' . getIDSemana(4) . ' - Abierto a las ' . $at['HoraAbierta'] . ' hasta las ' . $at['HoraCierre'] . '</td></tr>'; } elseif (date("l") == "Wednesday") { echo '<tr><td><img style="padding:5px;" src="../misc/iconos/hora.png"></td><td>' . getIDSemana(3) . ' - Abierto a las ' . $at['HoraAbierta'] . ' hasta las ' . $at['HoraCierre'] . '</td></tr>'; } elseif (date("l") == "Tuesday") { echo '<tr><td><img style="padding:5px;" src="../misc/iconos/hora.png"></td><td>' . getIDSemana(2) . ' - Abierto a las ' . $at['HoraAbierta'] . ' hasta las ' . $at['HoraCierre'] . '</td></tr>'; } elseif (date("l") == "Monday") { echo '<tr><td><img style="padding:5px;" src="../misc/iconos/hora.png"></td><td>' . getIDSemana(1) . ' - Abierto a las ' . $at['HoraAbierta'] . ' hasta las ' . $at['HoraCierre'] . '</td></tr>'; } elseif (date("l") == "Sunday") { echo '<tr><td><img style="padding:5px;" src="../misc/iconos/hora.png"></td><td>' . getIDSemana(7) . ' - Abierto a las ' . $at['HoraAbierta'] . ' hasta las ' . $at['HoraCierre'] . '</td></tr>'; } else { echo '<tr><td>' . date("d") . '</td></tr>'; } echo '' . onlineCheck($l['idLogin']) . '</table>'; echo '</div></div>'; echo '<div id="content-header"><div id="header2"><table><tr><td><img style="padding:5px;" src="../misc/iconos/sucursal.png"></td><td>'; require_once 'fuerza.php'; echo '</td></tr></table></div></div></div>'; require_once 'Admin/Funcion_botones.php';
if (!empty($p['favjob'])) { echo "<b>Favorite Job: </b>" . $p['favjob'] . "<br/><br/>"; } if (!empty($p['text'])) { echo "\t\n\t\t\t\t<b>About Me:</b>\n\t\t\t\t<div class=\"breakword\">" . $clean_html . "</div>\n\t\t\t\t<hr/>"; } if (isset($_SESSION['pname'])) { echo "<a href=\"?base=ucp&page=mail&uc={$name}\">Send me Mail »</a>"; } if (isset($_SESSION['pname']) && $_GET['name'] == $_SESSION['pname']) { echo "<hr/><a href=\"?base=ucp&page=profedit\">Edit Profile »</a><hr/>"; } } elseif (@$_GET['action'] == "search") { if ($_POST['search']) { $name = $mysqli->real_escape_string($_POST['name']); $gs = $mysqli->query("SELECT * FROM `" . $prefix . "profile` WHERE `name` LIKE '%" . $name . "%' ORDER BY `name` ASC") or die; echo "\n\t\t<legend>\n\t\t\t<b>Search result:</b>\n\t\t</legend>"; while ($s = $gs->fetch_assoc()) { echo "\n\t\t\t<a href=\"?base=main&page=members&name=" . $s['name'] . "\">" . $s['name'] . "</a><br />"; } } } else { echo "\n\t\t<h2 class=\"text-left\">Members List</h2><hr/>"; echo "\n\t\tHere's the full list of the members of the <b>" . $servername . "</b> community. \n\t\tYou can select one to visit their profile or you can search for an user.<hr />\n\t\t<div class=\"row\">\n\t\t<div class=\"col-md-6 col-md-offset-6\">\n\t\t\t<form method=\"post\" action=\"?base=main&page=members&action=search\" role=\"form\">\n\t\t\t<div style=\"float:right;margin-bottom:0px;\">\n\t\t\t\t<div class=\"input-group\">\n\t\t\t\t\t<input type=\"text\" name=\"name\" placeholder=\"Profile Name\" required id=\"profileName\" class=\"form-control\"/> \t\t\t\t\n\t\t\t\t\t\t<span class=\"input-group-btn\">\n\t\t\t\t\t\t\t<input class=\"btn btn-primary\" name=\"search\" type=\"submit\"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t</form>\n\t\t</div>\n\t</div><hr/>\n\t"; $gp = $mysqli->query("SELECT * FROM `" . $prefix . "profile` WHERE `name` != 'NULL' ORDER BY `name` ASC") or die; echo "\n\t\t<table class=\"table table-bordered\">\n\t<thead>\n\t\t<tr>\n\t\t\t<th style=\"width:100px\">Site Status</th>\n\t\t\t<th>Name</th>\n\t\t</tr>\n\t</thead>\n\t<tbody>"; while ($p = $gp->fetch_assoc()) { echo "\n\t\t\t<tr>\n\t\t\t\t<td>" . onlineCheck($p['accountid']) . "</td>\n\t\t\t\t<td>\n\t\t\t\t\t<a href=\"?base=main&page=members&name=" . $p['name'] . "\">" . $p['name'] . "</a>\n\t\t\t\t</td>\n\t\t\t</tr>"; } echo "\n\t</tbody>\n</table>\n\t"; }