|
|
|
|
|
|
|
|
|
|
|
#1 |
|
wtfwjd?
Join Date: May 2007
Posts: 2,103
|
Here's the form.
http://www.lusciousdelights.com/link...ers/submit.php I was hoping to require user to put something in one of the three fields "movies, pics, or other" so it would not be blank. But on second thought, maybe it's not such a good idea since I accept blogs. I think this is the code for the input: Code:
// Get the site elements
// Make the elements field back into a usable array
$elements = explode_assoc("=",",",$site->elements);
$result = DoQuery("select eid as id, element_name as name from dl_elements");
while($element = mysql_fetch_object($result)) {
$i = (int)$element->id;
print ("<tr>\n".
"<td class='llthead' align='right'>\nNo. of " . $element->name . ":\n</td>\n".
"<td class='lltbody'>\n<input type='text' size='5' name='elements[$i]' value='" . $elements["$i"] . "' />\n</td>\n".
"</tr>\n");
}
print("<tr>\n".
"<td class='llthead' align='right'>\nSite Type:\n</td>\n".
"<td>\n<select name='type'>\n");
|
|
|
|
|
|
#2 |
|
Progress rarely comes in buckets, it normally comes in teaspoons
Join Date: Jun 2005
Location: Dark Side Of Naboo
Posts: 1,289
|
LD you could add a site type "blogs" and put the include on the free site pages. I use flv's on my blogs so I just submit them as having 10 vids since I have 10 posts per page.
|
|
|
|
![]() |
|
|