SemperFidelis
01-25-2003, 03:03 PM
Ok
Ive played around with this a bit now.
And Ive got a couple of questions.
1.
How do I get this code to actually return the templates searched for rather than the "Thats All Folks" message ?
// Additional Quick Searches
doformheader('template', 'get');
makehiddencode('action', 'modify');
makehiddencode('group', 'all');
makehiddencode('s', $session[sessionhash]);
maketableheader('User Tools');
makelabelcode('Quick Template Finder:', '<input type="text" name="name" size="23"> <span id="submitrow"><input type="submit" value=" Go "></span>');
dotablefooter();
2.
How do I incorporate my code above (once fixed) into this so it displays correctly just below the quick user search ?
$onlineusers = '<b>' . number_format($getmembers + $getguests) . '</b> (' . $members . ' and ' . $guests . ')';
doformheader('user', 'find');
makehiddencode('action', 'find');
makehiddencode('s', $session[sessionhash]);
maketableheader('User Tools');
makelabelcode('Quick User Finder:', '<input type="text" name="ausername" size="23"> <span id="submitrow"><input type="submit" value=" Go "></span>');
makelabelcode('Useful Links:', '<select onchange="jumpto(this.options[this.selectedIndex].value)">' .
'<option>» Select link...</option>' .
'<option value="http://www.vbulletin.com/">vBulletin Home Page</option>' .
'<option value="http://www.vbulletin.com/members/">vBulletin Members Area</option>' .
'<option value="http://www.vbulletin.com/forum/">vBulletin Support Forums</option>' .
'<option value="http://www.vbulletin.com/manual/">vBulletin Online Manual</option>' .
'<option>--------------------</option>' .
'<option value="http://www.php.net/">PHP Home Page</option>' .
'<option value="http://www.php.net/manual/">PHP Online Manual</option>' .
'<option value="http://www.mysql.com/">MySQL Home Page</option>' .
'<option value="http://www.mysql.com/documentation/">MySQL Documentation</option></select>');
maketableheader('Site Statistics');
makelabelcode('Online Users:', $onlineusers);
All the above refers to code in /admin/index.php
I am also thinking of adding other quick search options in a similar way.
Before I continue, I just want to learn if Im going about it the right way or not.
Any assistance would be greatly appreciated.
Ive played around with this a bit now.
And Ive got a couple of questions.
1.
How do I get this code to actually return the templates searched for rather than the "Thats All Folks" message ?
// Additional Quick Searches
doformheader('template', 'get');
makehiddencode('action', 'modify');
makehiddencode('group', 'all');
makehiddencode('s', $session[sessionhash]);
maketableheader('User Tools');
makelabelcode('Quick Template Finder:', '<input type="text" name="name" size="23"> <span id="submitrow"><input type="submit" value=" Go "></span>');
dotablefooter();
2.
How do I incorporate my code above (once fixed) into this so it displays correctly just below the quick user search ?
$onlineusers = '<b>' . number_format($getmembers + $getguests) . '</b> (' . $members . ' and ' . $guests . ')';
doformheader('user', 'find');
makehiddencode('action', 'find');
makehiddencode('s', $session[sessionhash]);
maketableheader('User Tools');
makelabelcode('Quick User Finder:', '<input type="text" name="ausername" size="23"> <span id="submitrow"><input type="submit" value=" Go "></span>');
makelabelcode('Useful Links:', '<select onchange="jumpto(this.options[this.selectedIndex].value)">' .
'<option>» Select link...</option>' .
'<option value="http://www.vbulletin.com/">vBulletin Home Page</option>' .
'<option value="http://www.vbulletin.com/members/">vBulletin Members Area</option>' .
'<option value="http://www.vbulletin.com/forum/">vBulletin Support Forums</option>' .
'<option value="http://www.vbulletin.com/manual/">vBulletin Online Manual</option>' .
'<option>--------------------</option>' .
'<option value="http://www.php.net/">PHP Home Page</option>' .
'<option value="http://www.php.net/manual/">PHP Online Manual</option>' .
'<option value="http://www.mysql.com/">MySQL Home Page</option>' .
'<option value="http://www.mysql.com/documentation/">MySQL Documentation</option></select>');
maketableheader('Site Statistics');
makelabelcode('Online Users:', $onlineusers);
All the above refers to code in /admin/index.php
I am also thinking of adding other quick search options in a similar way.
Before I continue, I just want to learn if Im going about it the right way or not.
Any assistance would be greatly appreciated.