From: Chris S. <san...@us...> - 2011-01-24 15:31:01
|
Update of /cvsroot/stack/worksheets In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv26818 Modified Files: config.php.dist index.php Added Files: .cvsignore Log Message: --- NEW FILE: .cvsignore --- .project Index: config.php.dist =================================================================== RCS file: /cvsroot/stack/worksheets/config.php.dist,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** config.php.dist 6 Jan 2010 14:36:59 -0000 1.5 --- config.php.dist 24 Jan 2011 15:30:53 -0000 1.6 *************** *** 28,30 **** $dbArray["database"] = 'stack-dev'; - ?> \ No newline at end of file --- 28,29 ---- Index: index.php =================================================================== RCS file: /cvsroot/stack/worksheets/index.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** index.php 9 Feb 2010 17:09:57 -0000 1.14 --- index.php 24 Jan 2011 15:30:53 -0000 1.15 *************** *** 84,87 **** --- 84,103 ---- echo "</table></p>\n\n"; + echo '<h1>TEST</h1>'; + + $res=db_get_questions("TEST-"); + + echo "\n\n<p><table border='0'>\n"; + $i=0; + foreach($res as $qkey => $qu) { + if (''!=trim($qu['description'])) { + $i++; + echo ' <tr><td align="right">'.$i.'.</td>'; + echo '<td><span class="small_links">('.$qu['name'].')</span></td>'; + echo '<td><a href="'.$ws_location.'/worksheets.php?qkey='.$qu[name].'">'.$qu[description]."</a></td></tr>\n"; + } + } + echo "</table></p>\n\n"; + ?> |