"; print "Welcome, ".$w[full_name]; print "
Back to the previous page:
"; $sql = "select * from tbl_mediarel where writer = '$auth_user' ". "order by created desc"; $result = pg_exec($conn, $sql); $numrows = pg_numrows($result); print "There are "; print $numrows; print " mediareleases: "; print "
Add new"; print "
"; if (pg_numrows($result)) { print ""; print ""; print ""; $numOfRows = pg_numrows ($result); for ($i = 0; $i < $numOfRows; $i++){ if ($i % 2) { $color ="#99ccff"; } else{ $color ="#cccccc"; } $qry = pg_fetch_array($result, $i); print ""; print ""; print ""; print ""; print ""; print ""; print ""; } print "
HeadlinePageCreatedLast modifiedPublish Date
"; print $qry[headline]; print ""; print $qry[page]; print ""; print date("M d, Y, H:i", $qry[created]); print ""; print date("M d, Y, H:i", $qry[modified]); print ""; if ($qry[published]) print date("M d, Y, H:i", $qry[published]); else { print "[edit] "; print "[delete] "; //print "[keywords]"; } print "
"; } } include "../phpincludes/noindexbottomtable.inc"; ?>