[ Index ] |
|
Code source de WebCalendar 1.0.5 |
1 <a name="tabgroups"></a> 2 <div id="tabscontent_groups"> 3 <?php 4 echo "<a title=\"" . 5 translate("Add New Group") . "\" href=\"group_edit.php\" target=\"grpiframe\" onclick=\"javascript:show('grpiframe');\">" . 6 translate("Add New Group") . "</a><br />\n"; 7 ?> 8 <?php 9 $count = 0; 10 $lastrow = 0; 11 $res = dbi_query ( "SELECT cal_group_id, cal_name FROM webcal_group ORDER BY cal_name" ); 12 if ( $res ) { 13 while ( $row = dbi_fetch_row ( $res ) ) { 14 if ( $count == 0 ) { 15 echo "<ul>\n"; 16 } 17 echo "<li><a title=\"" . 18 $row[1] . "\" href=\"group_edit.php?id=" . $row[0] . "\" target=\"grpiframe\" onclick=\"javascript:show('grpiframe');\">" . 19 $row[1] . "</a></li>\n"; 20 $count++; 21 $lastrow = $row[0]; 22 } 23 if ( $count > 0 ) { echo "</ul>\n"; } 24 dbi_free_result ( $res ); 25 } 26 27 echo "<iframe src=\"group_edit.php?id=" . $lastrow . "\" name=\"grpiframe\" id=\"grpiframe\" style=\"width:90%;border-width:0px; height:325px;\"></iframe>"; 28 ?> 29 </div>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Fri Nov 30 19:09:19 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |