-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnodos.php
More file actions
25 lines (25 loc) · 911 Bytes
/
nodos.php
File metadata and controls
25 lines (25 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/* Originally from http://code.jenseng.com/jenChat/ modified to use AJAX by Shawn Van Every */
require_once('init.php');
$sql = "SELECT NodoName,LastUpdate,NodoID
FROM reTag_Nodos
ORDER BY LastUpdate";
$res = mysql_query($sql);
?>
<!-- If you want date and year F j, Y -->
<!-- If you want user $row['NodoName'] . ': </strong>' .-->
<!-- If you want date <span id="date">' .date("j F, Y", $row["LastUpdate"]) .'</span>
-->
<?
//loop to draw all the stores or nodos in the database
if(mysql_num_rows($res)){
echo '<div id="nodos"><h1> Selecciona tu Tienda</h1>';
while($row = mysql_fetch_array($res)){
echo '<div> <div id="message"><a href="?id=' .
$row['NodoID'] . '">'.
$row['NodoName'] . '</a></div></div>';
// $row['Message'] . '</div>';
}
echo '</div>';
}
?>