(file) Return to admin_inc_php.php CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / mysqlinks / lib

 1 rizwank 1.1 Use this form to guide you through selecting the options to use when sharing your links elsewhere with MySQL<em>inc</em>. When you're done, click the 'generate' button and the code will be provided for you, along with instructions about how to put it into your webpage.<br /><br />
 2             
 3             <form action="<?php echo getenv('REQUEST_URI'); ?>&make=make" method="post" class="admin">
 4             <strong>Which links category do you want to share?</strong><br />
 5             <small>If you leave this blank, your default category will be used.</small><br />
 6             <select name="share_category">
 7             <option></option>
 8             <?php
 9             
10             $results = mysql_list_tables($mysqdb['name']) or die("Invalid request: " . mysql_error());
11             
12             while ($row = mysql_fetch_row($results)) {
13             	print "<option value=\"$row[0]\">$row[0]</option>";
14             }
15             		
16             mysql_free_result($results);		
17             
18             ?>
19             </select><br /><br />
20             
21             <strong>Do you wish to have any text appear before each link?</strong><br />
22 rizwank 1.1 <small>If you do not enter a value for this option, the default will be applied. The default is to not put any text before each link.</small><br />
23             <input type="text" class="box" name="share_before" value="" /><br /><br />
24             
25             <strong>Do you wish to have any text appear after each link?</strong><br />
26             <small>If you do not enter a value for this option, the default will be applied. The default is to put a line break (&lt;br /&gt;) after each link. If you want nothing to appear, type "\n" in this box (without quotes).</small><br />
27             <input type="text" class="box" name="share_after" value="" /><br /><br />
28             
29             <!--
30             <strong>Are the links going to be included on this current website (i.e. somewhere on <?php echo getenv('HTTP_HOST'); ?>) or on a different website?</strong><br />
31             <input type="radio" name="share_location" value="here" /> Here<br />
32             <input type="radio" name="share_location" value="elsewhere" /> Somewhere else<br /><br />
33             -->
34             
35             <!-- for paying ppl only! -->
36             <strong>Choose the type of link back to the MySQLinks webpage that you would like to display after all your links.</strong><br />
37             <input type="radio" name="share_linkback" value="button" checked /> Button: <a href="http://freebies.wiccked.com/mysqlinks/"><img src="<?php echo $mysqvars['url']; ?>mysqlinks_button.png" alt="powered by MySQLinks" title="powered by MySQLinks" width="80" height="15" border="0" /></a><br />
38             <input type="radio" name="share_linkback" value="text" /> Text: <a href="http://freebies.wiccked.com/mysqlinks/">powered by MySQLinks</a><br />
39             <input type="radio" name="share_linkback" value="none" /> None<br /><br />
40             <!-- end paying section -->
41             
42             
43 rizwank 1.1 <input type="submit" value="Generate" class="button" />
44             <br /><br />
45             </form>

Rizwan Kassim
Powered by
ViewCVS 0.9.2