Changeset 489131
- Timestamp:
- 01/13/2012 03:02:22 AM (14 years ago)
- Location:
- wp-risal-download
- Files:
-
- 1 added
- 2 edited
- 11 copied
-
tags/1.1 (added)
-
tags/1.1/bg_header.jpg (copied) (copied from wp-risal-download/trunk/bg_header.jpg)
-
tags/1.1/bullet1.gif (copied) (copied from wp-risal-download/trunk/bullet1.gif)
-
tags/1.1/bullet2.gif (copied) (copied from wp-risal-download/trunk/bullet2.gif)
-
tags/1.1/downfile.php (copied) (copied from wp-risal-download/trunk/downfile.php)
-
tags/1.1/readme.txt (copied) (copied from wp-risal-download/trunk/readme.txt) (2 diffs)
-
tags/1.1/risal-download.php (copied) (copied from wp-risal-download/trunk/risal-download.php) (3 diffs)
-
tags/1.1/risal.css (copied) (copied from wp-risal-download/trunk/risal.css)
-
tags/1.1/screenshot-1.png (copied) (copied from wp-risal-download/tags/1.0/screenshot-1.png)
-
tags/1.1/screenshot-2.png (copied) (copied from wp-risal-download/tags/1.0/screenshot-2.png)
-
tags/1.1/screenshot-3.png (copied) (copied from wp-risal-download/tags/1.0/screenshot-3.png)
-
tags/1.1/screenshot-4.png (copied) (copied from wp-risal-download/tags/1.0/screenshot-4.png)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/risal-download.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-risal-download/tags/1.1/readme.txt
r488618 r489131 5 5 Requires at least: 3.0.0 6 6 Tested up to: 3.3.0 7 Stable Tag: 1. 07 Stable Tag: 1.1 8 8 9 9 risal-download is a simple scripts to avoid download abuse(either by human or robot). … … 57 57 * Work under linux filesystem. Windows? Not yet tested. 58 58 59 = 1.1 = 60 * Fix html syntax in admin page. File's name and directory's name that containing SPACE are now able to be recorded/updated/deleted from database. 61 -
wp-risal-download/tags/1.1/risal-download.php
r488618 r489131 142 142 ///step 3: Create Editor //form to POST (insert/edit) will be here. 143 143 echo '</tbody></table><hr> 144 <form id="myform" class="cssform" method="post" action=""> 145 <h2>Insert/Modify Record:</h2>'; 144 <form id="myform" class="cssform" method="post" action="">'; 146 145 if ( $_POST['submit'] == "edit" && $_POST['myid'] !== "" ) { 147 146 $myid = $_POST['myid']; … … 152 151 } 153 152 $vris = "Update"; 153 $xfile = "text"; 154 echo '<h2>Modify Record:</h2>'; 154 155 if ( $myrow->method == "md5" ) { $fmd5 = "checked"; $fsha1 = "";} 155 156 if ( $myrow->method == "sha1" ) { $fsha1 = "checked"; $fmd5 = ""; } … … 158 159 $tris = $queryRisal + 1; 159 160 $vris = "Insert"; 160 } 161 echo '<p><label for="ID">ID</label><input type=text name="myid" value='.$tris.'></p> 162 <p><label for="File">File Name</label><input type="file" name="myfile" value='.$myrow->file.'></p> 163 <p><label for="File Path">File Path</label><input type=text name="mypath" value='.$myrow->outsidepath.'></p> 161 $xfile = "file"; 162 echo '<h2>Insert New Record:</h2>'; 163 } 164 echo '<p><label for="ID">ID</label><input type=text name="myid" value="'.$tris.'"></p> 165 <p><label for="File">File Name</label><input type='.$xfile.' name="myfile" value="'.$myrow->file.'"></p> 166 <p><label for="File Path">File Path</label><input type=text name="mypath" value="'.$myrow->outsidepath.'"></p> 164 167 <p><label for="Method">Method</label><input type="radio" name="mymeth" value="md5" '.$fmd5.'> MD5 165 168 <input type="radio" name="mymeth" value="sha1" '.$fsha1.'> SHA1</p> 166 <p><label for="Livetime">Livetime</label><input type=text name="mytime" value= '.$myrow->timing.'><br>169 <p><label for="Livetime">Livetime</label><input type=text name="mytime" value="'.$myrow->timing.'"><br> 167 170 (<i> in seconds</i> )</p> 168 <p class="submit"><input type="submit" name=submit value= '.$vris.'></p></form><hr>';171 <p class="submit"><input type="submit" name=submit value="'.$vris.'"></p></form><hr>'; 169 172 ///step 4: Create table 2 and table 3. Remove button will be here. 170 173 echo risal_displayonly('second'); -
wp-risal-download/trunk/readme.txt
r488618 r489131 5 5 Requires at least: 3.0.0 6 6 Tested up to: 3.3.0 7 Stable Tag: 1. 07 Stable Tag: 1.1 8 8 9 9 risal-download is a simple scripts to avoid download abuse(either by human or robot). … … 57 57 * Work under linux filesystem. Windows? Not yet tested. 58 58 59 = 1.1 = 60 * Fix html syntax in admin page. File's name and directory's name that containing SPACE are now able to be recorded/updated/deleted from database. 61 -
wp-risal-download/trunk/risal-download.php
r488618 r489131 142 142 ///step 3: Create Editor //form to POST (insert/edit) will be here. 143 143 echo '</tbody></table><hr> 144 <form id="myform" class="cssform" method="post" action=""> 145 <h2>Insert/Modify Record:</h2>'; 144 <form id="myform" class="cssform" method="post" action="">'; 146 145 if ( $_POST['submit'] == "edit" && $_POST['myid'] !== "" ) { 147 146 $myid = $_POST['myid']; … … 152 151 } 153 152 $vris = "Update"; 153 $xfile = "text"; 154 echo '<h2>Modify Record:</h2>'; 154 155 if ( $myrow->method == "md5" ) { $fmd5 = "checked"; $fsha1 = "";} 155 156 if ( $myrow->method == "sha1" ) { $fsha1 = "checked"; $fmd5 = ""; } … … 158 159 $tris = $queryRisal + 1; 159 160 $vris = "Insert"; 160 } 161 echo '<p><label for="ID">ID</label><input type=text name="myid" value='.$tris.'></p> 162 <p><label for="File">File Name</label><input type="file" name="myfile" value='.$myrow->file.'></p> 163 <p><label for="File Path">File Path</label><input type=text name="mypath" value='.$myrow->outsidepath.'></p> 161 $xfile = "file"; 162 echo '<h2>Insert New Record:</h2>'; 163 } 164 echo '<p><label for="ID">ID</label><input type=text name="myid" value="'.$tris.'"></p> 165 <p><label for="File">File Name</label><input type='.$xfile.' name="myfile" value="'.$myrow->file.'"></p> 166 <p><label for="File Path">File Path</label><input type=text name="mypath" value="'.$myrow->outsidepath.'"></p> 164 167 <p><label for="Method">Method</label><input type="radio" name="mymeth" value="md5" '.$fmd5.'> MD5 165 168 <input type="radio" name="mymeth" value="sha1" '.$fsha1.'> SHA1</p> 166 <p><label for="Livetime">Livetime</label><input type=text name="mytime" value= '.$myrow->timing.'><br>169 <p><label for="Livetime">Livetime</label><input type=text name="mytime" value="'.$myrow->timing.'"><br> 167 170 (<i> in seconds</i> )</p> 168 <p class="submit"><input type="submit" name=submit value= '.$vris.'></p></form><hr>';171 <p class="submit"><input type="submit" name=submit value="'.$vris.'"></p></form><hr>'; 169 172 ///step 4: Create table 2 and table 3. Remove button will be here. 170 173 echo risal_displayonly('second');
Note: See TracChangeset
for help on using the changeset viewer.