openfirst-cvscommit Mailing List for openFIRST (Page 66)
Brought to you by:
xtimg
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(41) |
Jun
(210) |
Jul
(39) |
Aug
(153) |
Sep
(147) |
Oct
(173) |
Nov
(81) |
Dec
(163) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(33) |
Feb
(18) |
Mar
|
Apr
(62) |
May
|
Jun
(100) |
Jul
(38) |
Aug
(58) |
Sep
(1) |
Oct
|
Nov
(25) |
Dec
(172) |
2005 |
Jan
(31) |
Feb
(12) |
Mar
(67) |
Apr
(92) |
May
(247) |
Jun
(34) |
Jul
(36) |
Aug
(192) |
Sep
(15) |
Oct
(42) |
Nov
(92) |
Dec
(4) |
2006 |
Jan
|
Feb
(21) |
Mar
|
Apr
|
May
|
Jun
(53) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(4) |
Apr
(4) |
May
|
Jun
(15) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <dav...@us...> - 2003-12-06 18:10:45
|
Update of /cvsroot/openfirst/news/setup In directory sc8-pr-cvs1:/tmp/cvs-serv17917 Modified Files: setup.mssql setup.mysql Log Message: Changed menu to say Add News instead of Edit News. Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/news/setup/setup.mssql,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** setup.mssql 6 Oct 2003 22:27:08 -0000 1.4 --- setup.mssql 6 Dec 2003 18:10:42 -0000 1.5 *************** *** 2,4 **** ALTER TABLE ofirst_news ADD COLUMN image TEXT; CREATE TABLE `ofirst_news_comments` (`ID` tinyint(3) unsigned NOT NULL default '0', `Author` TEXT, `EMail` TINYTEXT, `Website` TINYTEXT, `Comment` TEXT, `Date` TEXT, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Edit News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Stream our News</a>',includes='viewnews.php'; --- 2,4 ---- ALTER TABLE ofirst_news ADD COLUMN image TEXT; CREATE TABLE `ofirst_news_comments` (`ID` tinyint(3) unsigned NOT NULL default '0', `Author` TEXT, `EMail` TINYTEXT, `Website` TINYTEXT, `Comment` TEXT, `Date` TEXT, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Add News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Stream our News</a>',includes='viewnews.php'; Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/news/setup/setup.mysql,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** setup.mysql 6 Oct 2003 22:27:08 -0000 1.9 --- setup.mysql 6 Dec 2003 18:10:42 -0000 1.10 *************** *** 2,4 **** ALTER TABLE ofirst_news ADD COLUMN image TEXT; CREATE TABLE `ofirst_news_comments` (`ID` tinyint(3) unsigned NOT NULL default '0', `Author` TEXT, `EMail` TINYTEXT, `Website` TINYTEXT, `Comment` TEXT, `Date` TEXT, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Edit News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Stream our News</a>',includes='viewnews.php'; --- 2,4 ---- ALTER TABLE ofirst_news ADD COLUMN image TEXT; CREATE TABLE `ofirst_news_comments` (`ID` tinyint(3) unsigned NOT NULL default '0', `Author` TEXT, `EMail` TINYTEXT, `Website` TINYTEXT, `Comment` TEXT, `Date` TEXT, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Add News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Stream our News</a>',includes='viewnews.php'; |
From: <dav...@us...> - 2003-12-06 18:10:22
|
Update of /cvsroot/openfirst/news/rss In directory sc8-pr-cvs1:/tmp/cvs-serv17870 Modified Files: rss.php Log Message: Changed image locations to use exact paths. Index: rss.php =================================================================== RCS file: /cvsroot/openfirst/news/rss/rss.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** rss.php 12 Nov 2003 00:23:42 -0000 1.6 --- rss.php 6 Dec 2003 18:10:20 -0000 1.7 *************** *** 90,94 **** $author = (string) $news->poster; // author of item $comments = (string) ''; // url to comment page rss 2.0 value ! $image = (string) $home.$base.'/news/images/'.$news->image; // optional mod_im value for dispaying a different pic for every item $rssfile->addItem($about, $title, $link, $description, $subject, $date, $author, $comments, $image); --- 90,94 ---- $author = (string) $news->poster; // author of item $comments = (string) ''; // url to comment page rss 2.0 value ! $image = (string) $news->image; // optional mod_im value for dispaying a different pic for every item $rssfile->addItem($about, $title, $link, $description, $subject, $date, $author, $comments, $image); |
From: <dav...@us...> - 2003-12-06 18:08:23
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv17466 Modified Files: comments.php Log Message: Removed error in which the query uses StoryID in the where claus. I removed this and it seems to work. I would ask Greg to overlook these features as it seems to be behaving strangely. Index: comments.php =================================================================== RCS file: /cvsroot/openfirst/news/comments.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** comments.php 23 Nov 2003 19:58:49 -0000 1.3 --- comments.php 6 Dec 2003 18:08:21 -0000 1.4 *************** *** 44,50 **** if(function_exists("latest_posts")){ //forum integration ! $q=ofirst_dbquery("SELECT Website FROM ofirst_news_comments WHERE StoryID='$id'"); ! if(ofirst_dbnum_rows($q)!=0){ ! $redirect=ofirst_dbfetch_object($q); header("Location: ".$redirect->Website); } else { --- 44,50 ---- if(function_exists("latest_posts")){ //forum integration ! $forum_query = ofirst_dbquery("SELECT Website FROM ofirst_news_comments WHERE ID='$id'"); ! if(ofirst_dbnum_rows($forum_query) != 0){ ! $redirect = ofirst_dbfetch_object($forum_query); header("Location: ".$redirect->Website); } else { *************** *** 54,58 **** $query=ofirst_dbquery("SELECT ID FROM ofirst_forumposts WHERE forum='".newsforum."' AND ReplyTo=0 AND Title='".$newspost->title."' AND Author='".$newspost->poster."' AND Message='".addslashes($newspost->news)."'"); $news=ofirst_dbfetch_object($query); ! ofirst_dbquery("INSERT INTO ofirst_news_comments (StoryID,Author,Website,Comment,Date) values ('$id','".$newspost->poster."','".$basepath."/forum/thread.php?id=".$news->ID."','Discussion moved to forum','".date("Y-m-d H:i:s")."');"); header("Location: ".$basepath."/forum/thread.php?id=".$news->ID); } --- 54,58 ---- $query=ofirst_dbquery("SELECT ID FROM ofirst_forumposts WHERE forum='".newsforum."' AND ReplyTo=0 AND Title='".$newspost->title."' AND Author='".$newspost->poster."' AND Message='".addslashes($newspost->news)."'"); $news=ofirst_dbfetch_object($query); ! ofirst_dbquery("INSERT INTO ofirst_news_comments (ID,Author,Website,Comment,Date) values ('$id','".$newspost->poster."','".$basepath."/forum/thread.php?id=".$news->ID."','Discussion moved to forum','".date("Y-m-d H:i:s")."');"); header("Location: ".$basepath."/forum/thread.php?id=".$news->ID); } *************** *** 65,76 **** <tr><th colspan='2'> <?php ! $q=ofirst_dbquery("SELECT title FROM ofirst_news WHERE ID='$id'"); ! if(ofirst_dbnum_rows($q)!=0){ ! $post=ofirst_dbfetch_object($q); echo("Discussion: ".$post->title); echo("</th></tr>"); ! $q=ofirst_dbquery("SELECT * FROM ofirst_news_comments WHERE StoryID='$id'"); ! if(ofirst_dbnum_rows($q)!=0){ ! while($post=ofirst_dbfetch_object($q)){ echo("<tr valign='top'><td class='sub' width='200'>"); if($post->EMail!=""){ --- 65,76 ---- <tr><th colspan='2'> <?php ! $comment_query = ofirst_dbquery("SELECT title FROM ofirst_news WHERE ID='$id'"); ! if(ofirst_dbnum_rows($comment_query) != 0){ ! $post=ofirst_dbfetch_object($comment_query); echo("Discussion: ".$post->title); echo("</th></tr>"); ! $discussion_query = ofirst_dbquery("SELECT * FROM ofirst_news_comments WHERE ID = '$id'"); ! if(ofirst_dbnum_rows($discussion_query) !=0 ){ ! while($post = ofirst_dbfetch_object($discussion_query)){ echo("<tr valign='top'><td class='sub' width='200'>"); if($post->EMail!=""){ |
From: <dav...@us...> - 2003-12-06 17:26:17
|
Update of /cvsroot/openfirst/photogallery In directory sc8-pr-cvs1:/tmp/cvs-serv9834 Modified Files: email.php Log Message: Fixed function_exists check. Index: email.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/email.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** email.php 13 Oct 2003 18:00:22 -0000 1.9 --- email.php 6 Dec 2003 17:26:11 -0000 1.10 *************** *** 124,128 **** // Check if multipartmail is declared or else use regular mailing function ! if(funcion_exists("multipartmail")){ multipartmail($recipientemail, $title."Gallery Photo Sender", $message); } else { --- 124,128 ---- // Check if multipartmail is declared or else use regular mailing function ! if(function_exists("multipartmail")){ multipartmail($recipientemail, $title."Gallery Photo Sender", $message); } else { *************** *** 146,187 **** <input type="hidden" name="photo" value="<?php echo $_GET['PHOTO']; ?>"> ! <table width="521" border="0" align="center" cellpadding="6" cellspacing="0"> ! <tr bgcolor="#999999"> ! <th> </th> ! <th>Gallery Name</th> ! </tr> ! <tr> ! <th>Your Name</th> ! <td width="266"><input name="name" type="text" id="name"></td> ! </tr> ! <tr> ! <th>Your E-Mail</th> ! <td> ! <input name="email" type="text" id="email" size="40"> ! </td> ! </tr> ! <tr> ! <th>Recipients Name</th> ! <td> ! <input name="recipient" type="text" id="recipient"> ! </td> ! </tr> ! <tr> ! <th>Recipients E-Mail</th> ! <td> ! <input name="recipientemail" type="text" id="recipientemail" size="40"> ! </td> ! </tr> ! <tr> ! <th>Comments</th> ! <td> ! <textarea name="comment" cols="35" rows="9" id="comment"></textarea> ! </td> ! </tr> ! <tr> ! <th> </th> ! <td><input name="send" type="submit" id="send" value="Send E-Mail"></td> ! </tr> ! </table> </form> --- 146,181 ---- <input type="hidden" name="photo" value="<?php echo $_GET['PHOTO']; ?>"> ! <table width="521" border="0" align="center" cellpadding="6" cellspacing="0"> ! <tr bgcolor="#999999"> ! <th width="140"> </th> ! <th>Send Photos</th> ! </tr> ! <tr> ! <td><div align="right"><strong>Your Name</strong></div></td> ! <td width="357"><input name="name" type="text" id="name"></td> ! </tr> ! <tr> ! <td><div align="right"><strong>Your E-Mail</strong></div></td> ! <td> <input name="email" type="text" id="email" size="40"> </td> ! </tr> ! <tr> ! <td><div align="right"><strong>Recipients Name</strong></div></td> ! <td> <input name="recipient" type="text" id="recipient"> </td> ! </tr> ! <tr> ! <td><div align="right"><strong>Recipients E-Mail</strong></div></td> ! <td> <input name="recipientemail" type="text" id="recipientemail" size="40"> ! </td> ! </tr> ! <tr> ! <td><div align="right"><strong>Comments</strong></div></td> ! <td> <textarea name="comment" cols="35" rows="9" id="comment"></textarea> ! </td> ! </tr> ! <tr> ! <td> </td> ! <td><input name="send" type="submit" id="send" value="Send E-Mail"></td> ! </tr> ! </table> </form> |
From: <dav...@us...> - 2003-12-06 17:25:37
|
Update of /cvsroot/openfirst/photogallery/admin In directory sc8-pr-cvs1:/tmp/cvs-serv9697 Modified Files: edit.php editphoto.php newgallery.php Log Message: Minor updates to style, syntax and added description editing for the gallery as well as fixed up the editing menu. Index: edit.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/edit.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** edit.php 13 Oct 2003 18:00:27 -0000 1.7 --- edit.php 6 Dec 2003 17:25:30 -0000 1.8 *************** *** 39,44 **** // Check if user initiated delete and run delete process ! if(ISSET($_GET['DELETE']) == true && isset($_GET["CONFIRMED"]) == false) { ! echo("<p>Are you absolutely sure you want to delete this gallery? All pictures in the gallery will be removed from the server.</p> <a href='edit.php?DELETE=" . $_GET["DELETE"] . "&CONFIRMED=1'>Yes, I am sure</a> <a href='edit.php'>No, I've changed my mind</a>"); die(include_once($footer)); } elseif(isset($_GET["DELETE"]) == true && isset($_GET["CONFIRMED"]) == true) { --- 39,44 ---- // Check if user initiated delete and run delete process ! if(isset($_GET['DELETE']) == true && isset($_GET["CONFIRMED"]) == false) { ! echo("<br><br><p>Are you absolutely sure you want to delete this gallery? All pictures in the gallery will be removed from the server.</p> <a href='edit.php?DELETE=" . $_GET["DELETE"] . "&CONFIRMED=1'>Yes, I am sure</a> | <a href='edit.php'>No, I've changed my mind</a><br><br>"); die(include_once($footer)); } elseif(isset($_GET["DELETE"]) == true && isset($_GET["CONFIRMED"]) == true) { *************** *** 59,63 **** // Close the directory for future reading closedir($current_dir); - rmdir(${dir}); } --- 59,62 ---- *************** *** 94,97 **** --- 93,102 ---- } + if(isset($_POST['editdescription'])){ + ofirst_dbquery("UPDATE ofirst_photogallery_galleries SET Description = '".$_POST['description']."' WHERE ID = '".$_GET['ID']."'"); + echo "<br><br><center>The gallery description has been updated! [ <a href='edit.php?ID=".$_GET['ID']."'>Manage</a> ]</center><br><br>"; + die(include($footer)); + } + // Get information above the gallery $query = ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries WHERE ID = '".$_GET['ID']."'"); *************** *** 101,111 **** <h2>Edit Gallery</h2> ! <em><?php echo $gallery->GalleryName; ?></em> Options -<a href="edit.php?ID=<?php echo $_GET['ID']; ?>">Edit</a> ! | <a href="upload.php?ID=<?php echo $_GET['ID']; ?>">Upload Photos</a> ! | <a href="cleargallery.php?ID=<?php echo $_GET['ID']; ?>">Clear Gallery</a> ! | <a href="edit.php?DELETE=<?php echo $_GET['ID']; ?>">Delete Gallery</a> ! (Must be empty to perform operation)<br><br> ! <table width="388" align="center"> <tr> <th width="48"></th> --- 106,133 ---- <h2>Edit Gallery</h2> ! <table width="43%"> ! <tr> ! <tH><?php echo $gallery->GalleryName; ?> Options</tH> ! </tr> ! <tr> ! <td><div align="center"><a href="edit.php?ID=<?php echo $_GET['ID']; ?>">Edit</a> ! | <a href="upload.php?ID=<?php echo $_GET['ID']; ?>">Upload Photos</a> ! | <a href="cleargallery.php?ID=<?php echo $_GET['ID']; ?>">Clear Gallery</a> ! | <a href="edit.php?DELETE=<?php echo $_GET['ID']; ?>">Delete Gallery</a></div></td> ! </tr> ! <tr> ! <td><div align="center"> ! <form method="POST" action="edit.php?ID=<?php echo $_GET['ID']; ?>"> ! <textarea name="description" cols="40" rows="10" id="description"><?php echo $gallery->Description; ?></textarea> ! <br> ! <input name="editdescription" type="submit" id="editdescription" value="Edit Description"> ! </form> ! </div></td> ! </tr> ! </table> ! <br> ! <br> ! <table width="388"> <tr> <th width="48"></th> Index: editphoto.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/editphoto.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** editphoto.php 13 Oct 2003 18:00:26 -0000 1.5 --- editphoto.php 6 Dec 2003 17:25:30 -0000 1.6 *************** *** 101,163 **** ?> <h2>Edit Gallery</h2> ! <p><em><?php echo $gallery->GalleryName; ?> Options - </em><a href="edit.php?ID=<?php echo $_GET['ID']; ?>">Edit</a> ! | <a href="upload.php?ID=<?php echo $_GET['ID']; ?>">Upload Photos</a> ! | <a href="cleargallery.php?ID=<?php echo $_GET['ID']; ?>">Clear Gallery</a> ! | <a href="edit.php?DELETE=<?php echo $_GET['ID']; ?>">Delete Gallery</a></p> ! <p align="center"><img src="../gallery/<?php echo $gallery->GalleryName; ?>/<?php echo $_GET['PHOTO']; ?>" width="300" height="225"><br> ! <br>[ <a href="makethumb.php?ID=<?php echo $_GET['ID']; ?>&PHOTO=<?php echo $_GET['PHOTO']; ?>">Make Thumbnail</a> ]</p> <form action='editphoto.php?ID=<?php echo $_GET['ID']; ?>&PHOTO=<?php echo $_GET['PHOTO']; ?>' method='POST'> <table width="456"> ! <tr> <th width="101"> </th> <th width="275">Photo Information</th> </tr> ! <tr> ! <th>File Name</th> <td><?php echo $_GET['PHOTO']; ?></td> </tr> ! <tr> ! <th>Photo Name</th> <td><input name="imagename" type="text" id="imagename" value="<?php if(isset($image->ImageName)){ echo $image->ImageName; } ?>" size="30"></td> </tr> ! <tr> ! <th>Date</th> <td><input name="date" type="text" id="date" value="<?php if(isset($image->Dates)){ echo $image->Dates; }else{ echo date("F j, Y, g:i a",time()); } ?>" size="30"></td> </tr> ! <tr> ! <th>Description:</th> ! <td> <textarea name="description" cols="40" rows="10" id="description"><?php echo $image->Description; ?></textarea> </td> </tr> ! <?php if(isset($description)){ ?> ! <tr> ! <th> </th> <td><table width="85%"> ! <tr> ! <th><div align="center">Text File Found</div></th> </tr> ! <tr> <td><?php echo $description; ?></td> </tr> </table></td> </tr> ! <tr> ! <td> ! <input name="txtupdate" type="checkbox" id="deletefile5" value="checkbox"> </td> ! <td>Use description from .txt file in updating the image description. ! The .txt contets are in the above table.</td> </tr> ! <tr> ! <td> ! <input name="deletefile" type="checkbox" id="deletefile4" value="checkbox"> </td> <td>Delete .txt file after adding this description to the image.</td> </tr> ! <?php } ?> ! <tr> <td> </td> ! <td> <input name='update' type='submit' id='update' value='Update Image Info'> ! <input name='deleteall' type='submit' id='update3' value='Delete Description'> </td> </tr> --- 101,170 ---- ?> <h2>Edit Gallery</h2> ! <table width="43%"> ! <tr> ! <tH><?php echo $gallery->GalleryName; ?> Options</tH> ! </tr> ! <tr> ! <td><div align="center"><a href="edit.php?ID=<?php echo $_GET['ID']; ?>">Edit</a> ! | <a href="upload.php?ID=<?php echo $_GET['ID']; ?>">Upload Photos</a> ! | <a href="cleargallery.php?ID=<?php echo $_GET['ID']; ?>">Clear Gallery</a> ! | <a href="edit.php?DELETE=<?php echo $_GET['ID']; ?>">Delete Gallery</a></div></td> ! </tr> ! </table><br> ! <img src="../gallery/<?php echo $gallery->GalleryName; ?>/<?php echo $_GET['PHOTO']; ?>" width="300" height="225"><br> ! <br> ! [ <a href="makethumb.php?ID=<?php echo $_GET['ID']; ?>&PHOTO=<?php echo $_GET['PHOTO']; ?>">Make ! Thumbnail</a> ] <form action='editphoto.php?ID=<?php echo $_GET['ID']; ?>&PHOTO=<?php echo $_GET['PHOTO']; ?>' method='POST'> <table width="456"> ! <tr> <th width="101"> </th> <th width="275">Photo Information</th> </tr> ! <tr> ! <td><div align="right"><strong>File Name</strong></div></td> <td><?php echo $_GET['PHOTO']; ?></td> </tr> ! <tr> ! <td><div align="right"><strong>Photo Name</strong></div></td> <td><input name="imagename" type="text" id="imagename" value="<?php if(isset($image->ImageName)){ echo $image->ImageName; } ?>" size="30"></td> </tr> ! <tr> ! <td><div align="right"><strong>Date</strong></div></td> <td><input name="date" type="text" id="date" value="<?php if(isset($image->Dates)){ echo $image->Dates; }else{ echo date("F j, Y, g:i a",time()); } ?>" size="30"></td> </tr> ! <tr> ! <td><div align="right"><strong>Description:</strong></div></td> ! <td> <textarea name="description" cols="40" rows="10" id="description"><?php echo $image->Description; ?></textarea> </td> </tr> ! <?php if(isset($description)){ ?> ! <tr> ! <td> </td> <td><table width="85%"> ! <tr> ! <td><div align="center">Text File Found</div></td> </tr> ! <tr> <td><?php echo $description; ?></td> </tr> </table></td> </tr> ! <tr> ! <td> <input name="txtupdate" type="checkbox" id="deletefile5" value="checkbox"> </td> ! <td>Use description from .txt file in updating the image description. The ! .txt contets are in the above table.</td> </tr> ! <tr> ! <td> <input name="deletefile" type="checkbox" id="deletefile4" value="checkbox"> </td> <td>Delete .txt file after adding this description to the image.</td> </tr> ! <?php } ?> ! <tr> <td> </td> ! <td> <input name='update' type='submit' id='update' value='Update Image Info'> ! <input name='deleteall' type='submit' id='update3' value='Delete Description'> </td> </tr> Index: newgallery.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/newgallery.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** newgallery.php 12 Nov 2003 01:41:09 -0000 1.9 --- newgallery.php 6 Dec 2003 17:25:30 -0000 1.10 *************** *** 44,49 **** ofirst_dbquery("INSERT INTO ofirst_photogallery_galleries (GalleryName, Author, Dates, Description) values( ! '".$_POST['galleryname']."', '".$user->user."', '".time()."', '".$_POST['description']."')"); echo "<br><br><center>New gallery added! [ <a href='index.php'>Manage</a> ]</center><br><br>"; die(include_once($footer)); --- 44,52 ---- ofirst_dbquery("INSERT INTO ofirst_photogallery_galleries (GalleryName, Author, Dates, Description) values( ! '".$_POST['galleryname']."', ! '".$user->user."', ! '".time()."', '".$_POST['description']."')"); + echo "<br><br><center>New gallery added! [ <a href='index.php'>Manage</a> ]</center><br><br>"; die(include_once($footer)); *************** *** 56,77 **** <form method="POST" action="newgallery.php"> <table width="499"> ! <tr> <th> </th> <th>New Gallery Options</th> </tr> ! <tr> ! <th width="130">Gallery Name</th> <td width="345"><input name="galleryname" type="text" id="galleryname"></td> </tr> ! <tr> ! <th>Date</th> <td><?php echo date("F j, Y, g:i a",time()); ?></td> </tr> ! <tr> ! <th>Description</th> <td> <textarea name="description" cols="40" rows="10" id="description"></textarea></td> </tr> ! <tr> ! <th> </th> <td><input name="create" type="submit" id="create" value="Create Gallery"></td> </tr> --- 59,80 ---- <form method="POST" action="newgallery.php"> <table width="499"> ! <tr> <th> </th> <th>New Gallery Options</th> </tr> ! <tr> ! <td width="130"><div align="right"><strong>Gallery Name</strong></div></td> <td width="345"><input name="galleryname" type="text" id="galleryname"></td> </tr> ! <tr> ! <td><div align="right"><strong>Date</strong></div></td> <td><?php echo date("F j, Y, g:i a",time()); ?></td> </tr> ! <tr> ! <td><div align="right"><strong>Description</strong></div></td> <td> <textarea name="description" cols="40" rows="10" id="description"></textarea></td> </tr> ! <tr> ! <td> </td> <td><input name="create" type="submit" id="create" value="Create Gallery"></td> </tr> |
From: <i-...@us...> - 2003-12-04 23:24:15
|
Update of /cvsroot/openfirst/downloads In directory sc8-pr-cvs1:/tmp/cvs-serv10996/downloads Modified Files: index.php Log Message: More bug fixes Index: index.php =================================================================== RCS file: /cvsroot/openfirst/downloads/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.php 4 Dec 2003 21:46:15 -0000 1.4 --- index.php 4 Dec 2003 23:24:12 -0000 1.5 *************** *** 35,39 **** define("cols",3); //rows per page ! define("rows",1); --- 35,39 ---- define("cols",3); //rows per page ! define("rows",2); *************** *** 82,94 **** } } else { $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat WHERE ID='".$category."'"); ! if(ofirst_dbnum_rows($query)==0){ ! echo("<div>The specified category does not exist</div>"); ! } else { $cat = ofirst_dbfetch_object($query); echo("<h1>$cat->Category</h1>"); echo("<div>$cat->Description<br><br></div>"); $category=$cat->Category; - $cattitle="Category: ".$category; } } --- 82,92 ---- } } else { + $cattitle="Category: ".$category; $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat WHERE ID='".$category."'"); ! if(ofirst_dbnum_rows($query)!=0){ $cat = ofirst_dbfetch_object($query); echo("<h1>$cat->Category</h1>"); echo("<div>$cat->Description<br><br></div>"); $category=$cat->Category; } } *************** *** 156,168 **** echo("<tr><td colspan=".cols." align=right>"); if($page>1){ ! echo('<a href="'.$_SERVER["PHP_SELF"].'?page='.($page-1).'"><< Prev</a> '); } echo("Page ".$page." of ".ceil($numfiles/(cols*rows))); if($page<ceil($numfiles/(cols*rows))){ ! echo(' <a href="'.$_SERVER["PHP_SELF"].'?page='.($page+1).'">Next >></a>'); } echo("</td></tr>"); } ! echo('<tr><td colspan='.cols.' align=right><br /><a href="'.$_SERVER["PHP_SELF"].'">Downloads Home</a></td></tr></table>'); } --- 154,166 ---- echo("<tr><td colspan=".cols." align=right>"); if($page>1){ ! echo('<a href="'.$_SERVER["PHP_SELF"].'?page='.($page-1).'&cat='.urlencode($category).'"><< Prev</a> '); } echo("Page ".$page." of ".ceil($numfiles/(cols*rows))); if($page<ceil($numfiles/(cols*rows))){ ! echo(' <a href="'.$_SERVER["PHP_SELF"].'?page='.($page+1).'&cat='.urlencode($category).'">Next >></a>'); } echo("</td></tr>"); } ! echo('<tr><td colspan='.cols.' align=right><br /><a href="$basepath/downloads">Downloads Home</a></td></tr></table>'); } |
From: <dav...@us...> - 2003-12-04 22:47:30
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv2962 Modified Files: updates.php Log Message: Spacing in user names when e-mailing out. Index: updates.php =================================================================== RCS file: /cvsroot/openfirst/projects/updates.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** updates.php 23 Nov 2003 14:49:34 -0000 1.12 --- updates.php 4 Dec 2003 22:47:27 -0000 1.13 *************** *** 85,89 **** <td>--</td> <td>".$project->Description."</td> ! <td>".$project->Assigned."</td> </tr>"; --- 85,89 ---- <td>--</td> <td>".$project->Description."</td> ! <td>".str_replace(",",", ",$project->Assigned)."</td> </tr>"; |
From: <i-...@us...> - 2003-12-04 21:46:18
|
Update of /cvsroot/openfirst/downloads In directory sc8-pr-cvs1:/tmp/cvs-serv18412/downloads Modified Files: index.php Log Message: Minor style issues Index: index.php =================================================================== RCS file: /cvsroot/openfirst/downloads/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.php 4 Dec 2003 21:44:41 -0000 1.3 --- index.php 4 Dec 2003 21:46:15 -0000 1.4 *************** *** 53,57 **** } } ! echo "page$page"; if($category==""){ //main page --- 53,57 ---- } } ! if($category==""){ //main page |
From: <i-...@us...> - 2003-12-04 21:44:44
|
Update of /cvsroot/openfirst/downloads In directory sc8-pr-cvs1:/tmp/cvs-serv18045/downloads Modified Files: index.php Log Message: Fixed page numbers and navigation (bug reported by Dave) Index: index.php =================================================================== RCS file: /cvsroot/openfirst/downloads/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 23 Nov 2003 17:28:19 -0000 1.2 --- index.php 4 Dec 2003 21:44:41 -0000 1.3 *************** *** 53,57 **** } } ! if($category==""){ //main page --- 53,57 ---- } } ! echo "page$page"; if($category==""){ //main page *************** *** 103,107 **** //skip records for($j=1;$j<=cols*rows*($page-1);$j++){ ! if(!ofirst_dbfetch_object($query)){ break; } --- 103,107 ---- //skip records for($j=1;$j<=cols*rows*($page-1);$j++){ ! if(!($file=ofirst_dbfetch_object($query))){ break; } *************** *** 127,131 **** } $type = ofirst_dbfetch_object($queryext); ! echo('<img align=absmiddle src="'.$basepath."/members/".$type->image.'"> '); echo($type->description." (".$file->ext.') </td></tr>'); --- 127,133 ---- } $type = ofirst_dbfetch_object($queryext); ! if($images){ ! echo('<img align=absmiddle src="'.$basepath."/members/".$type->image.'"> '); ! } echo($type->description." (".$file->ext.') </td></tr>'); *************** *** 150,163 **** } if($numfiles>cols*rows){ echo("<tr><td colspan=".cols." align=right>"); ! ! $curpage=floor($numfiles/(cols*rows))*$page; ! if($curpage>1){ ! echo('<a href="'.$_SERVER["PHP_SELF"].'?page='.($curpage-1).'"><< Prev</a> '); } ! echo("Page ".floor($numfiles/(cols*rows))*$page." of ".ceil($numfiles/(cols*rows))); ! if($curpage<ceil($numfiles/(cols*rows))){ ! echo(' <a href="'.$_SERVER["PHP_SELF"].'?page='.($curpage+1).'">Next >></a>'); } echo("</td></tr>"); --- 152,164 ---- } + //are there multiple pages? if($numfiles>cols*rows){ echo("<tr><td colspan=".cols." align=right>"); ! if($page>1){ ! echo('<a href="'.$_SERVER["PHP_SELF"].'?page='.($page-1).'"><< Prev</a> '); } ! echo("Page ".$page." of ".ceil($numfiles/(cols*rows))); ! if($page<ceil($numfiles/(cols*rows))){ ! echo(' <a href="'.$_SERVER["PHP_SELF"].'?page='.($page+1).'">Next >></a>'); } echo("</td></tr>"); |
From: <dav...@us...> - 2003-12-03 23:04:07
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv19110 Modified Files: viewmembers.php Log Message: Allows to view members correctly by adding tr tags into the loop. Index: viewmembers.php =================================================================== RCS file: /cvsroot/openfirst/projects/viewmembers.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** viewmembers.php 1 Nov 2003 17:39:49 -0000 1.5 --- viewmembers.php 3 Dec 2003 23:04:03 -0000 1.6 *************** *** 45,49 **** <td class="sub" width="164">Full Name </td> </tr> - <tr> <?php --- 45,48 ---- *************** *** 55,65 **** $member = ofirst_dbfetch_object($member_query); ! echo "<td>$assign</td>"; ! echo "<td>".$member->firstname." ".$member->lastname."</td>"; } ?> ! </tr> </table> <p> </p> --- 54,64 ---- $member = ofirst_dbfetch_object($member_query); ! echo "\n<tr><td>$assign</td>"; ! echo "<td>".$member->firstname." ".$member->lastname."</td></tr>\n"; } ?> ! </table> <p> </p> |
From: <dav...@us...> - 2003-12-02 23:07:13
|
Update of /cvsroot/openfirst/messenger In directory sc8-pr-cvs1:/tmp/cvs-serv19422 Modified Files: viewmsg.php newmsg.php inbox.php Log Message: Fixed bug on displaying error when there is no emoticon module present. Index: viewmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/viewmsg.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** viewmsg.php 2 Nov 2003 15:46:10 -0000 1.10 --- viewmsg.php 2 Dec 2003 23:07:06 -0000 1.11 *************** *** 61,69 **** <tr> <th>Subject</th> ! <td><?php echo slur_block(emoticon_translate($msg->Subject)); ?></td> </tr> <tr> <th>Body</th> ! <td><?php echo slur_block(emoticon_translate($msg->Body)); ?></td> </tr> </table> --- 61,69 ---- <tr> <th>Subject</th> ! <td><?php if(function_exists("slur_block")){ echo slur_block(emoticon_translate($msg->Subject)); }else{ echo $msg->Subject; } ?></td> </tr> <tr> <th>Body</th> ! <td><?php if(function_exists("slur_block")){ echo slur_block(emoticon_translate($msg->Body)); }else{ echo $msg->Body; } ?></td> </tr> </table> Index: newmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/newmsg.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** newmsg.php 16 Oct 2003 23:52:59 -0000 1.13 --- newmsg.php 2 Dec 2003 23:07:07 -0000 1.14 *************** *** 44,60 **** ,'New' ,'".time()."')") or die("INSERT ERROR: ".ofirst_dberror()); ! ! // Get information about the receiver ! ! $query = ofirst_dbquery("SELECT * FROM ofirst_members WHERE user = '".$_POST['recip']."'") or die(ofirst_dberror()); ! $receiver = ofirst_dbfetch_object($query); ! ! // Send mail notification to use via multipart mail function if the function exists already ! if(function_exists("multipartmail")){ ! multipartmail($receiver->email, ! "New message has arrived!" , $message = "Hello ".$receiver->firstname.", you have received a new message from ".$user->user.". You may pickup your message by visiting: $home/$basepath/messenger/inbox.php. Thank you and have a nice day!"); ! } echo("<br><br><br><center>Message has been sent! [ <a href='inbox.php'>Inbox</a> ]<br><br>"); --- 44,68 ---- ,'New' ,'".time()."')") or die("INSERT ERROR: ".ofirst_dberror()); ! ! $recipient_query = ofirst_dbquery("SELECT * FROM ofirst_members WHERE user = '".$_POST['recip']."'"); ! $recipient = ofirst_dbfetch_object($recipient_query); ! if(function_exists("multipartmail")){ ! multipartmail($recipient->email, ! "New message has arrived!" , $message = "Hello ".$recipient->firstname.", you have received a new message from ".$user->user.". You may pickup your message by visiting: $home/$basepath/messenger/inbox.php. Thank you and have a nice day!"); ! }else{ ! // Prepare e-mail headers without using the multipartmail function ! $headers = "MIME-Version: 1.0\r\n"; ! $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; ! $headers .= "X-Priority: 1\r\n"; ! $headers .= "X-MSMail-Priority: High\r\n"; ! ! // Prepare message for email ! $message = "Hello ".$recipient->firstname.",<br><br>You have received a new message from ".$user->user." on the <b>$title</b> ! Messenger System. You may pickup your message by visiting: $home/$basepath/messenger/inbox.php.<br><br>Thank you and have a nice day!"; ! ! mail($recipient->email,"New message has arrived!",$message,$headers); ! } echo("<br><br><br><center>Message has been sent! [ <a href='inbox.php'>Inbox</a> ]<br><br>"); *************** *** 68,72 **** <th></th><th>Send New Message</th> <tr> ! <td width="34%"><?php emoticon_preview("14"); ?></td> <td width="66%"> <table> --- 76,80 ---- <th></th><th>Send New Message</th> <tr> ! <td width="34%"><?php if(function_exists("emoticon_preview")){ emoticon_preview("14"); } ?></td> <td width="66%"> <table> Index: inbox.php =================================================================== RCS file: /cvsroot/openfirst/messenger/inbox.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** inbox.php 2 Nov 2003 15:46:10 -0000 1.9 --- inbox.php 2 Dec 2003 23:07:07 -0000 1.10 *************** *** 72,76 **** --- 72,80 ---- echo "< No Subject >"; } else { + if(function_exists("slur_block")){ echo slur_block(emoticon_translate($messages->Subject)); + }else{ + echo $messages->Subject; + } } |
From: <i-...@us...> - 2003-11-29 21:09:09
|
Update of /cvsroot/openfirst/forum In directory sc8-pr-cvs1:/tmp/cvs-serv31227/forum Modified Files: index.php Log Message: Improved code efficiency Index: index.php =================================================================== RCS file: /cvsroot/openfirst/forum/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 25 Oct 2003 23:02:50 -0000 1.6 --- index.php 29 Nov 2003 21:09:06 -0000 1.7 *************** *** 107,200 **** echo("<b>$cat->message</b></div><div>".date("l, j F Y")."</div></td></tr></table>"); ! $query = ofirst_dbquery("SELECT name,closed FROM ofirst_forum WHERE subforum=$cat->ID AND hidden=0 ORDER BY name"); ! if(ofirst_dbnum_rows($query)!=0){ ! echo("<table width=600><tr><th colspan=4> "); ! if($cat->subforum!=0){ ! echo("Subforums"); ! } ! echo(" </th></tr>"); ! echo("<tr><td class=sub width=350><b>Forum</b></td><td class=sub align=right><b>Posts</b></td><td class=sub align=right><b>Threads</b></td><td class=sub align=center width=100><b>Last Post</b></td></tr>"); ! while($sub=ofirst_dbfetch_object($query)){ ! echo("<tr><td>"); ! $q=ofirst_dbquery("SELECT Author,DatePosted FROM ofirst_forumposts WHERE forum='$sub->name' ORDER BY DatePosted DESC"); ! if(ofirst_dbnum_rows($q)!=0){ ! $lastposter=ofirst_dbfetch_object($q); ! $lastdate=$lastposter->DatePosted; ! $lastposter=$lastposter->Author; ! } ! if(!$sub->closed==1){ ! if(ofirst_dbnum_rows($q)!=0 && isset($user)){ ! echo(getimage($_SESSION["forumvisit".$uname],$lastdate).'<a href="'.$_SERVER["PHP_SELF"]."?forum=".urlencode($sub->name).'">'.ucfirst($sub->name)."</a></td>"); ! } ! else{ ! echo('<img src=old.png align=absmiddle><a href="'.$_SERVER["PHP_SELF"]."?forum=".urlencode($sub->name).'">'.ucfirst($sub->name)."</a></td>"); ! } ! } ! else{ ! echo('<img src=locked.png align=absmiddle><a href="'.$_SERVER["PHP_SELF"]."?forum=".urlencode($sub->name).'">'.ucfirst($sub->name)."</a></td>"); ! } ! echo("<td align=right>".ofirst_dbnum_rows($q)."</td>"); ! $q=ofirst_dbquery("SELECT ID FROM ofirst_forumposts WHERE forum='$sub->name' AND ReplyTo='0'"); ! echo("<td align=right>".ofirst_dbnum_rows($q)."</td>"); ! echo("<td align=right> "); ! if(isset($lastposter)){ ! echo($lastdate." by "); ! if(is_readable("../members/profile.php")){ ! echo('<a href="'.$basepath."/members/profile.php?id=".$lastposter.'">'); ! } ! echo($lastposter."</a>"); ! unset($lastposter); ! } ! else { ! echo("Never"); ! } ! echo("</td></tr>"); ! } ! echo("</table><br>"); ! } ! if($admin){ ! $query = ofirst_dbquery("SELECT name,closed FROM ofirst_forum WHERE subforum=$cat->ID AND hidden=1 ORDER BY name"); ! if(ofirst_dbnum_rows($query)!=0){ ! echo("<table width=600><tr><th colspan=4>Private Forums</th></tr>"); ! echo("<tr><td class=sub width=350><b>Forum</b></td><td class=sub align=right><b>Posts</b></td><td class=sub align=right><b>Threads</b></td><td class=sub align=center width=100><b>Last Post</b></td></tr>"); ! while($sub=ofirst_dbfetch_object($query)){ ! echo("<tr><td>"); ! $q=ofirst_dbquery("SELECT Author,DatePosted FROM ofirst_forumposts WHERE forum='$sub->name' ORDER BY DatePosted DESC"); ! if(ofirst_dbnum_rows($q)!=0){ ! $lastposter=ofirst_dbfetch_object($q); ! $lastdate=$lastposter->DatePosted; ! $lastposter=$lastposter->Author; ! } ! if(!$sub->closed==1){ ! if(ofirst_dbnum_rows($q)!=0 && isset($user)){ ! echo(getimage($_SESSION["forumvisit".$uname],$lastdate).'<a href="'.$_SERVER["PHP_SELF"]."?forum=".urlencode($sub->name).'">'.ucfirst($sub->name)."</a></td>"); ! } ! else{ ! echo('<img src=old.png align=absmiddle><a href="'.$_SERVER["PHP_SELF"]."?forum=".urlencode($sub->name).'">'.ucfirst($sub->name)."</a></td>"); ! } ! } ! else{ ! echo('<img src=locked.png align=absmiddle><a href="'.$_SERVER["PHP_SELF"]."?forum=".urlencode($sub->name).'">'.ucfirst($sub->name)."</a></td>"); ! } ! echo("<td align=right>".ofirst_dbnum_rows($q)."</td>"); ! $q=ofirst_dbquery("SELECT ID FROM ofirst_forumposts WHERE forum='$sub->name' AND ReplyTo='0'"); ! echo("<td align=right>".ofirst_dbnum_rows($q)."</td>"); ! echo("<td align=right> "); ! if(isset($lastposter)){ ! echo($lastdate." by "); ! if(is_readable("../members/profile.php")){ ! echo('<a href="'.$basepath."/members/profile.php?id=".$lastposter.'">'); ! } ! echo($lastposter."</a>"); ! unset($lastposter); ! } ! else { ! echo("Never"); ! } ! echo("</td></tr>"); ! } ! echo("</table><br>"); ! } } --- 107,114 ---- echo("<b>$cat->message</b></div><div>".date("l, j F Y")."</div></td></tr></table>"); ! showgroup($cat,0); ! if($admin){ ! showgroup($cat,1); } *************** *** 264,275 **** include($footer); ! ! function getimage($userlast,$recentdate){ ! if(strtotime($userlast)<strtotime($recentdate)){ ! return "<img src=new.png align=absmiddle>"; } ! else { ! return "<img src=old.png align=absmiddle>"; } - } ?> --- 178,240 ---- include($footer); ! ! function getimage($userlast,$recentdate){ ! if(strtotime($userlast)<strtotime($recentdate)){ ! return "<img src=new.png align=absmiddle>"; ! } ! else { ! return "<img src=old.png align=absmiddle>"; ! } } ! ! function showgroup($cat,$private=0){ ! $query = ofirst_dbquery("SELECT name,closed FROM ofirst_forum WHERE subforum=$cat->ID AND hidden=$private ORDER BY name"); ! if(ofirst_dbnum_rows($query)!=0){ ! echo("<table width=600><tr><th colspan=4>"); ! if($private==1){ ! echo("Private Forums"); ! }else{ ! echo(" "); ! } ! echo("</th></tr>"); ! echo("<tr><td class=sub width=350><b>Forum</b></td><td class=sub align=right><b>Posts</b></td><td class=sub align=right><b>Threads</b></td><td class=sub align=center width=100><b>Last Post</b></td></tr>"); ! while($sub=ofirst_dbfetch_object($query)){ ! echo("<tr><td>"); ! $q=ofirst_dbquery("SELECT Author,DatePosted FROM ofirst_forumposts WHERE forum='$sub->name' ORDER BY DatePosted DESC"); ! if(ofirst_dbnum_rows($q)!=0){ ! $lastposter=ofirst_dbfetch_object($q); ! $lastdate=$lastposter->DatePosted; ! $lastposter=$lastposter->Author; ! } ! if(!$sub->closed==1){ ! if(ofirst_dbnum_rows($q)!=0 && isset($user)){ ! echo(getimage($_SESSION["forumvisit".$uname],$lastdate).'<a href="'.$_SERVER["PHP_SELF"]."?forum=".urlencode($sub->name).'">'.ucfirst($sub->name)."</a></td>"); ! } ! else{ ! echo('<img src=old.png align=absmiddle><a href="'.$_SERVER["PHP_SELF"]."?forum=".urlencode($sub->name).'">'.ucfirst($sub->name)."</a></td>"); ! } ! } ! else{ ! echo('<img src=locked.png align=absmiddle><a href="'.$_SERVER["PHP_SELF"]."?forum=".urlencode($sub->name).'">'.ucfirst($sub->name)."</a></td>"); ! } ! echo("<td align=right>".ofirst_dbnum_rows($q)."</td>"); ! $q=ofirst_dbquery("SELECT ID FROM ofirst_forumposts WHERE forum='$sub->name' AND ReplyTo='0'"); ! echo("<td align=right>".ofirst_dbnum_rows($q)."</td>"); ! echo("<td align=right> "); ! if(isset($lastposter)){ ! echo($lastdate." by "); ! if(is_readable("../members/profile.php")){ ! echo('<a href="'.$GLOBALS['basepath']."/members/profile.php?id=".$lastposter.'">'); ! } ! echo($lastposter."</a>"); ! unset($lastposter); ! } ! else { ! echo("Never"); ! } ! echo("</td></tr>"); ! } ! echo("</table><br>"); ! } } ?> |
From: <dav...@us...> - 2003-11-27 02:43:24
|
Update of /cvsroot/openfirst/meetings In directory sc8-pr-cvs1:/tmp/cvs-serv28096 Modified Files: index.php Log Message: Added e-mail notification for new meetings. NOTE: This feature has not been tested yet. I coded it blindly. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/meetings/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 2 Nov 2003 21:06:13 -0000 1.2 --- index.php 27 Nov 2003 02:43:21 -0000 1.3 *************** *** 71,74 **** --- 71,98 ---- Dates = '".time()."'") or die(ofirst_dberror()); echo "<br><br>Meeting created! [ <a href='index.php'>Meetings</a> ]<br><br>"; + + // ---------------- SEND E-MAIL NOTICE OUT ---------------- + // Prepare e-mail headers without using the multipartmail function + $headers = "MIME-Version: 1.0\r\n"; + $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; + $headers .= "X-Priority: 1\r\n"; + $headers .= "X-MSMail-Priority: High\r\n"; + + // Prepare message for email + $message = "<b>$title</b> Meeting System<br>----------------------------------------------------<br> + <i>".$user->user."</i> requested a meeting for: ".$fordate.". Here are the topics to be discussed: + <br><blockquote>".$_POST['description']; + + // Query members and mail out notifications + $assigned = explode(",",$assign); + foreach($assigned as $assign){ + $member_query = ofirst_dbquery("SELECT * FROM ofirst_members WHERE Division = '".$assign."'"); + while($member = ofirst_dbfetch_object($member_query)){ + mail($member->email,"$title Meeting System: Meeting Call",$message,$headers); + } + } + + // -------------------------------------------------------- + die(include_once($footer)); } |
From: <dav...@us...> - 2003-11-27 02:36:12
|
Update of /cvsroot/openfirst/awards In directory sc8-pr-cvs1:/tmp/cvs-serv26540 Modified Files: index.php Log Message: Modified minor changes. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/index.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** index.php 27 Nov 2003 01:32:13 -0000 1.9 --- index.php 27 Nov 2003 02:36:09 -0000 1.10 *************** *** 39,49 **** if($amount > 0) { ?> ! <table width="631"> <tr> ! <th width="39"> </th> ! <th width="234">Award Name</th> ! <th width="118">Event</th> ! <th width="86">Date</th> ! <th width="130">Recipient</th> </tr> <?php --- 39,49 ---- if($amount > 0) { ?> ! <table> <tr> ! <th> </th> ! <th>Award Name</th> ! <th>Event</th> ! <th>Date</th> ! <th>Recipient</th> </tr> <?php |
From: <dav...@us...> - 2003-11-27 02:35:42
|
Update of /cvsroot/openfirst/awards/setup In directory sc8-pr-cvs1:/tmp/cvs-serv26478 Modified Files: setup.mysql setup.mssql Log Message: Added description field to setup files. Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/awards/setup/setup.mysql,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** setup.mysql 27 Jun 2003 01:44:35 -0000 1.6 --- setup.mysql 27 Nov 2003 02:35:39 -0000 1.7 *************** *** 1,2 **** ! CREATE TABLE `ofirst_awards` (`ID` int(6) unsigned NOT NULL auto_increment, `AwardName` tinytext, `Event` tinytext, `Date` date default NULL, `Recipient` tinytext, `Image` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; INSERT INTO ofirst_config SET modulename='awards',showonmenu='0',active='0',adminnavigation='<a href="$basepath/awards/admin/">Manage Awards</a>',modulenavigation='<a href="$basepath/awards/">View Awards</a>'; --- 1,2 ---- ! CREATE TABLE `ofirst_awards` (`ID` int(6) unsigned NOT NULL auto_increment, `AwardName` tinytext, `Description` text,`Event` tinytext, `Date` date default NULL, `Recipient` tinytext, `Image` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; INSERT INTO ofirst_config SET modulename='awards',showonmenu='0',active='0',adminnavigation='<a href="$basepath/awards/admin/">Manage Awards</a>',modulenavigation='<a href="$basepath/awards/">View Awards</a>'; Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/awards/setup/setup.mssql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** setup.mssql 23 Aug 2003 20:03:13 -0000 1.1 --- setup.mssql 27 Nov 2003 02:35:39 -0000 1.2 *************** *** 1,2 **** ! CREATE TABLE `ofirst_awards` (`ID` int(6) unsigned NOT NULL auto_increment, `AwardName` tinytext, `Event` tinytext, `Date` date default NULL, `Recipient` tinytext, `Image` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; INSERT INTO ofirst_config SET modulename='awards',showonmenu='0',active='0',adminnavigation='<a href="$basepath/awards/admin/">Manage Awards</a>',modulenavigation='<a href="$basepath/awards/">View Awards</a>'; --- 1,2 ---- ! CREATE TABLE `ofirst_awards` (`ID` int(6) unsigned NOT NULL auto_increment, `AwardName` tinytext, `Description` text,`Event` tinytext, `Date` date default NULL, `Recipient` tinytext, `Image` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; INSERT INTO ofirst_config SET modulename='awards',showonmenu='0',active='0',adminnavigation='<a href="$basepath/awards/admin/">Manage Awards</a>',modulenavigation='<a href="$basepath/awards/">View Awards</a>'; |
From: <dav...@us...> - 2003-11-27 02:34:35
|
Update of /cvsroot/openfirst/feedback In directory sc8-pr-cvs1:/tmp/cvs-serv26380 Modified Files: index.php Log Message: Minor change in syntax (I suggest someone adds table to this script to make it look a lot more appealing). Index: index.php =================================================================== RCS file: /cvsroot/openfirst/feedback/index.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** index.php 13 Oct 2003 17:53:21 -0000 1.12 --- index.php 27 Nov 2003 02:34:31 -0000 1.13 *************** *** 26,42 **** * */ ! include_once("../config/globals.php"); ! include_once($header); ! echo("<h1>Give Feedback</h1>"); ! // Get a list of the users able to be contacted via the feedback form. ! $query = ofirst_dbquery("SELECT * FROM ofirst_feedbackusers ORDER BY name;"); ! if (ofirst_dbnum_rows($query) != 0){ ! if(isset($_POST["to"]) == true) { ! $messageallowed = false; ! } else { ! // Display the feedback form. ?> <form onsubmit="return dhtmlEditorPrepareSubmit();" method="post" action="index.php"> --- 26,41 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); ! echo("<h1>Give Feedback</h1>"); ! // Get a list of the users able to be contacted via the feedback form. ! $query = ofirst_dbquery("SELECT * FROM ofirst_feedbackusers ORDER BY name;"); ! if (ofirst_dbnum_rows($query) != 0){ ! if(isset($_POST["to"]) == true) { ! $messageallowed = false; ! } else { ?> <form onsubmit="return dhtmlEditorPrepareSubmit();" method="post" action="index.php"> *************** *** 66,70 **** <?php if (function_exists("make_wysiwyg")) { ! if(isset($user->signature)){ $msg = "Insert your feedback here.\n\n$user->signature"; }else{ $msg = "Insert your feedback here."; } make_wysiwyg("message",500,300,$msg); --- 65,69 ---- <?php if (function_exists("make_wysiwyg")) { ! if(isset($user->signature)){ $msg = "Insert your feedback here.<br>\n\n$user->signature"; }else{ $msg = "Insert your feedback here."; } make_wysiwyg("message",500,300,$msg); *************** *** 86,106 **** multipartmail($_POST["to"], "Feedback: $isuser " . $_POST["type"], $_POST["message"] . "\r\n\r\n--\r\nMessage generated by openfirst.feedback. ! For more information about openFIRST, see: ! http://openfirst.sourceforge.net" ! , ! "From: " . $_POST["from"] ."\r\nReply-To: ". $_POST["from"] ."\r\n"); } else { mail($_POST["to"], "Feedback: $isuser " . $_POST["type"], $_POST["message"] ! . "\r\n\r\n--\r\nMessage generated by openfirst.feedback. ! For more information about openFIRST, see: ! http://openfirst.sourceforge.net" ! , ! "From: " . $_POST["from"] ."\r\nReply-To: ". $_POST["from"] ."\r\n"); } // Inform user of message being sent. ! echo("Your message has been ! sent. If a reply is desired, you ! should receive it in the near ! future."); } else { --- 85,97 ---- multipartmail($_POST["to"], "Feedback: $isuser " . $_POST["type"], $_POST["message"] . "\r\n\r\n--\r\nMessage generated by openfirst.feedback. ! For more information about openFIRST, see: ! http://openfirst.sourceforge.net","From: " . $_POST["from"] ."\r\nReply-To: ". $_POST["from"] ."\r\n"); } else { mail($_POST["to"], "Feedback: $isuser " . $_POST["type"], $_POST["message"] ! . "\r\n\r\n--\r\nMessage generated by openfirst.feedback. For more information about openFIRST, see: ! http://openfirst.sourceforge.net","From: " . $_POST["from"] ."\r\nReply-To: ". $_POST["from"] ."\r\n"); } // Inform user of message being sent. ! echo("Your message has been sent. If a reply is desired, you should receive it in the near future."); } else { |
From: <dav...@us...> - 2003-11-27 01:32:40
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1:/tmp/cvs-serv17990 Modified Files: index.php Log Message: Added description feature. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** index.php 27 Nov 2003 00:42:34 -0000 1.12 --- index.php 27 Nov 2003 01:32:35 -0000 1.13 *************** *** 44,50 **** if (ISSET($_POST['create'])){ if($_POST['award']!=""){ ! ofirst_dbquery("INSERT INTO ofirst_awards (AwardName,Event,Date,Image,Recipient) values( ! '".$_POST['award']."', '".$_POST['event']."', '".$_POST['date']. ! "', '".$_POST['type']."', '".$_POST['recipient']."')") or die("INSERT: ". ofirst_dberror()); --- 44,54 ---- if (ISSET($_POST['create'])){ if($_POST['award']!=""){ ! ofirst_dbquery("INSERT INTO ofirst_awards (AwardName,Event,Date,Image,Description,Recipient) values( ! '".$_POST['award']."', ! '".$_POST['event']."', ! '".$_POST['date']."', ! '".$_POST['type']."', ! '".$_POST['description']."', ! '".$_POST['recipient']."')") or die("INSERT: ". ofirst_dberror()); *************** *** 64,67 **** --- 68,72 ---- Date = '".$_POST['date'] . "', Image = '".$_POST['type']."', + Description = '".$_POST['description']."', Recipient = '".$_POST['recipient']."' WHERE ID='" . $_POST["AwardID"] . "';") or die("UPDATE: ".ofirst_dberror()); *************** *** 122,125 **** --- 127,134 ---- echo $award->Recipient; } ?>"></td> + </tr> + <tr> + <th>Description</th> + <td><textarea name="description" cols="30" rows="5"><?php echo $award->Description; ?></textarea></td> </tr> <tr> |
From: <dav...@us...> - 2003-11-27 01:32:19
|
Update of /cvsroot/openfirst/awards In directory sc8-pr-cvs1:/tmp/cvs-serv17952 Modified Files: index.php Log Message: Added description feature. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 13 Oct 2003 17:51:13 -0000 1.8 --- index.php 27 Nov 2003 01:32:13 -0000 1.9 *************** *** 39,49 **** if($amount > 0) { ?> ! <table> <tr> ! <th> </th> ! <th>Award Name</th> ! <th>Event</th> ! <th>Date</th> ! <th>Recipient</th> </tr> <?php --- 39,49 ---- if($amount > 0) { ?> ! <table width="631"> <tr> ! <th width="39"> </th> ! <th width="234">Award Name</th> ! <th width="118">Event</th> ! <th width="86">Date</th> ! <th width="130">Recipient</th> </tr> <?php *************** *** 51,57 **** while($awards = ofirst_dbfetch_object($query)){ ?> ! <tr> <td><img src="awards<?php echo $awards->Image; ?>.png" alt="<?php echo $awards->Image; ?>"></td> ! <td><?php echo $awards->AwardName; ?></td> <td><?php echo $awards->Event; ?></td> <td><?php echo $awards->Date; ?></td> --- 51,58 ---- while($awards = ofirst_dbfetch_object($query)){ ?> ! <tr valign="top"> <td><img src="awards<?php echo $awards->Image; ?>.png" alt="<?php echo $awards->Image; ?>"></td> ! <td> <b><?php echo $awards->AwardName; ?></b> <br> ! <?php echo $awards->Description; ?> </td> <td><?php echo $awards->Event; ?></td> <td><?php echo $awards->Date; ?></td> |
From: <i-...@us...> - 2003-11-27 01:00:14
|
Update of /cvsroot/openfirst/feedback/admin In directory sc8-pr-cvs1:/tmp/cvs-serv12397/feedback/admin Modified Files: index.php Log Message: Added user authentication Index: index.php =================================================================== RCS file: /cvsroot/openfirst/feedback/admin/index.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** index.php 13 Oct 2003 17:53:21 -0000 1.9 --- index.php 27 Nov 2003 01:00:09 -0000 1.10 *************** *** 29,68 **** include_once($header); ! if(isset($_POST["feedbackusers"])) { ! // Delete current users, as they will all be replaced with new users. ! if(isset($_POST['feedbackusers'])){ ! $query = ofirst_dbquery("DELETE FROM ofirst_feedbackusers;"); ! $line = explode("\n", $_POST["feedbackusers"]); ! foreach ($line as $lin) { ! $fname = trim(substr($lin, strpos($lin, " ") - strlen($lin))); ! $femail = trim(substr($lin, 0, strpos($lin, " "))); ! // Create the new users for the feedback list ! $query = ofirst_dbquery("INSERT INTO ofirst_feedbackusers (name, email) VALUES ('$fname', '$femail');") or die(mysql_error()); } - echo("<p><br>The feedback users have been modified as per your request. [ <a href='index.php'>Manage</a> ]<br></p>"); - die(include_once($footer)); } - } ! echo("<h1>Feedback</h1> ! <p>Use this form to setup the users of the feedback system. Each user should be on a ! new line with their email address first,<br> then a space and their name (as it should appear on ! the feedback form).</p> ! <form method='post' action='index.php'> ! "); ! $query = ofirst_dbquery("SELECT * FROM ofirst_feedbackusers ORDER BY name;"); ! if (ofirst_dbnum_rows($query) != 0){ ! echo("<textarea name='feedbackusers' rows='10' cols='50'>"); ! while($feedback = ofirst_dbfetch_object($query)){ ! echo("$feedback->email $feedback->name\n"); } } else { ! echo("<textarea name='feedbackusers' rows='10' cols='50'>jo...@so... Joe Somebody"); } - echo("</textarea><br /><input type='submit' value='Update Feedback Users' /></form>"); - include_once($footer); ?> --- 29,70 ---- include_once($header); ! if(isset($user->membertype)&&$user->membertype=="administrator"){ ! if(isset($_POST["feedbackusers"])) { ! // Delete current users, as they will all be replaced with new users. ! if(isset($_POST['feedbackusers'])){ ! $query = ofirst_dbquery("DELETE FROM ofirst_feedbackusers;"); ! $line = explode("\n", $_POST["feedbackusers"]); ! foreach ($line as $lin) { ! $fname = trim(substr($lin, strpos($lin, " ") - strlen($lin))); ! $femail = trim(substr($lin, 0, strpos($lin, " "))); ! // Create the new users for the feedback list ! $query = ofirst_dbquery("INSERT INTO ofirst_feedbackusers (name, email) VALUES ('$fname', '$femail');") or die(mysql_error()); ! } ! echo("<p><br>The feedback users have been modified as per your request. [ <a href='index.php'>Manage</a> ]<br></p>"); ! die(include_once($footer)); } } ! echo("<h1>Feedback</h1> ! <p>Use this form to setup the users of the feedback system. Each user should be on a ! new line with their email address first,<br> then a space and their name (as it should appear on ! the feedback form).</p> ! <form method='post' action='index.php'>"); ! $query = ofirst_dbquery("SELECT * FROM ofirst_feedbackusers ORDER BY name;"); ! if (ofirst_dbnum_rows($query) != 0){ ! echo("<textarea name='feedbackusers' rows='10' cols='50'>"); ! while($feedback = ofirst_dbfetch_object($query)){ ! echo("$feedback->email $feedback->name\n"); ! } ! } else { ! echo("<textarea name='feedbackusers' rows='10' cols='50'>jo...@so... Joe Somebody"); } + echo("</textarea><br /><input type='submit' value='Update Feedback Users' /></form>"); } else { ! echo("<h1>Feedback</h1><p>Only administrators can use this feature</p>"); } include_once($footer); ?> |
From: <i-...@us...> - 2003-11-27 00:42:38
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1:/tmp/cvs-serv8231/awards/admin Modified Files: index.php Log Message: Fixed authentication bug and some html formatting. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** index.php 25 Nov 2003 01:11:54 -0000 1.11 --- index.php 27 Nov 2003 00:42:34 -0000 1.12 *************** *** 30,75 **** // Check if user is an admin then allow processes ! if (isset($user->user)){ ! // If user has posted delete then delete specified record in querystring DELETE ! if (ISSET($_GET['DELETE'])){ ! ofirst_dbquery("DELETE FROM ofirst_awards WHERE ID = '".$_GET['DELETE']."'") or die("DELETE: ". ofirst_dberror()); ! echo("<p>Award information has been deleted. [ <a href='./'>Manage Award</a> ]</p>"); ! die(include_once($footer)); ! } ! // If user has posted create then insert new award record ! if (ISSET($_POST['create'])){ ! ofirst_dbquery("INSERT INTO ofirst_awards (AwardName,Event,Date,Image,Recipient) values( '".$_POST['award']."', '".$_POST['event']."', '".$_POST['date']. "', '".$_POST['type']."', '".$_POST['recipient']."')") ! or die("INSERT: ". ofirst_dberror()); ! echo("<p></p>Congratulations on your new award. Award submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include_once($footer)); ! } ! // If the user has submitted modifications to an award, then make them. ! if (ISSET($_POST['modify'])){ ! ofirst_dbquery("UPDATE ofirst_awards SET AwardName='".$_POST['award']."', Event = '".$_POST['event']."', Date = '".$_POST['date'] . "', Image = '".$_POST['type']."', Recipient = '".$_POST['recipient']."' WHERE ID='" . $_POST["AwardID"] . "';") ! or die("UPDATE: ".ofirst_dberror()); ! echo("<p></p>Award modifications submitted! [ <a href='./'>Manage Award</a> ]</p>"); ! die(include_once($footer)); ! } ! // If the user has elected to modify an award, fill the form with those details. ! if(isset($_GET["MODIFY"])) { ! $award = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_awards WHERE ID='" . $_GET["MODIFY"] . "';")); ! } else { ! $award = ""; ! } ?> --- 30,84 ---- // Check if user is an admin then allow processes ! if(isset($user->user)){ ! if($user->membertype=="administrator"){ ! // If user has posted delete then delete specified record in querystring DELETE ! if (ISSET($_GET['DELETE'])){ ! ofirst_dbquery("DELETE FROM ofirst_awards WHERE ID = '".$_GET['DELETE']."'") or die("DELETE: ". ofirst_dberror()); ! echo("<p>Award information has been deleted.</p><p>[ <a href='./'>Manage Awards</a> ]</p>"); ! die(include_once($footer)); ! } ! // If user has posted create then insert new award record ! if (ISSET($_POST['create'])){ ! if($_POST['award']!=""){ ! ofirst_dbquery("INSERT INTO ofirst_awards (AwardName,Event,Date,Image,Recipient) values( '".$_POST['award']."', '".$_POST['event']."', '".$_POST['date']. "', '".$_POST['type']."', '".$_POST['recipient']."')") ! or die("INSERT: ". ofirst_dberror()); ! echo("<p>Congratulations on your new award. Award submitted!</p><p>[ <a href='./'>Manage Awards</a> ]</p>"); ! }else{ ! echo("<p>Please enter a name for the award.</p><p>[ <a href='./'>Manage Awards</a> ]</p>"); ! } ! die(include_once($footer)); ! } ! // If the user has submitted modifications to an award, then make them. ! if (ISSET($_POST['modify'])){ ! if($_POST['award']!=""){ ! ofirst_dbquery("UPDATE ofirst_awards SET AwardName='".$_POST['award']."', Event = '".$_POST['event']."', Date = '".$_POST['date'] . "', Image = '".$_POST['type']."', Recipient = '".$_POST['recipient']."' WHERE ID='" . $_POST["AwardID"] . "';") ! or die("UPDATE: ".ofirst_dberror()); ! echo("<p>Award modifications submitted!</p><p>[ <a href='./'>Manage Awards</a> ]</p>"); ! }else{ ! echo("<p>Please enter a name for the award.</p><p>[ <a href='./'>Manage Awards</a> ]</p>"); ! } ! die(include_once($footer)); ! } ! // If the user has elected to modify an award, fill the form with those details. ! if(isset($_GET["MODIFY"])) { ! $award = ofirst_dbfetch_object(ofirst_dbquery("SELECT * FROM ofirst_awards WHERE ID='" . $_GET["MODIFY"] . "';")); ! } else { ! $award = ""; ! } ?> *************** *** 152,156 **** <th>Date</th> <th>Recipient</th> ! <th>Option</th> </tr> <?php --- 161,165 ---- <th>Date</th> <th>Recipient</th> ! <th>Option</th> </tr> <?php *************** *** 168,180 **** </tr> <?php ! } ! if(ofirst_dbnum_rows($query) == 0){ ! echo "<tr><td> </td><td> </td><td>No awards entered!</td><td> </td><td> </td><td> </td></tr>"; ! } ! ?> </table> <br> <?php ! } else { showlogin(); --- 177,191 ---- </tr> <?php ! } ! if(ofirst_dbnum_rows($query) == 0){ ! echo "<tr><td> </td><td> </td><td>No awards entered!</td><td> </td><td> </td><td> </td></tr>"; ! } ! ?> </table> <br> <?php ! }else{ ! echo("<h1>Manage Award Information</h1><p>Only administrators can use this feature</p>"); ! } } else { showlogin(); |
From: <ste...@us...> - 2003-11-26 00:53:01
|
Update of /cvsroot/openfirst/poll/setup In directory sc8-pr-cvs1:/tmp/cvs-serv8794 Added Files: setup.mssql setup.mysql Log Message: Initial setup scripts which handle navigation --- NEW FILE: setup.mssql --- INSERT INTO ofirst_config SET modulename='poll',showonmenu='0',active='0',adminnavigation='<a href="$basepath/poll/admin/createpoll.php">Create Poll</a> | <a href="$basepath/poll/admin/">Edit Polls</a>', modulenavigation='<a href="$basepath/poll/">Select Poll</a>'; --- NEW FILE: setup.mysql --- INSERT INTO ofirst_config SET modulename='poll',showonmenu='0',active='0',adminnavigation='<a href="$basepath/poll/admin/createpoll.php">Create Poll</a> | <a href="$basepath/poll/admin/">Edit Polls</a>', modulenavigation='<a href="$basepath/poll/">Select Poll</a>'; |
From: <ste...@us...> - 2003-11-26 00:39:57
|
Update of /cvsroot/openfirst/poll/setup In directory sc8-pr-cvs1:/tmp/cvs-serv5815/setup Log Message: Directory /cvsroot/openfirst/poll/setup added to the repository |
From: <ste...@us...> - 2003-11-26 00:39:38
|
Update of /cvsroot/openfirst/poll/admin In directory sc8-pr-cvs1:/tmp/cvs-serv5722/admin Log Message: Directory /cvsroot/openfirst/poll/admin added to the repository |
From: <ste...@us...> - 2003-11-26 00:00:04
|
Update of /cvsroot/openfirst/poll In directory sc8-pr-cvs1:/tmp/cvs-serv30611 Added Files: index.php Log Message: Import select poll file. --- NEW FILE: index.php --- <?php /* * * openFIRST.poll - index.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Stephanie Closs <ste...@ho...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include_once("../config/globals.php"); include_once("$header"); ?> <h1>Select Poll</h1> <?php include_once("$footer"); ?> |
From: <dav...@us...> - 2003-11-25 01:11:57
|
Update of /cvsroot/openfirst/awards/admin In directory sc8-pr-cvs1:/tmp/cvs-serv1764 Modified Files: index.php Log Message: Changed form submit direction. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/awards/admin/index.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** index.php 13 Oct 2003 17:51:13 -0000 1.10 --- index.php 25 Nov 2003 01:11:54 -0000 1.11 *************** *** 75,79 **** <h1>Manage Award Information</h1> ! <form method="post" action="./"> <table> <tr> --- 75,79 ---- <h1>Manage Award Information</h1> ! <form method="post" action="index.php"> <table> <tr> |