BetaONE will rise again!


 
Prev Previous Post   Next Post Next
  #2  
Old 15th May 04, 06:05 PM
Zone-MR Zone-MR is offline
M.I.A.
 
Join Date: Sep 2001
Location: Near Newcastle, UK
Posts: 1,077
Zone-MR will become famous soon enoughZone-MR will become famous soon enough
Send a message via MSN to Zone-MR
This is how we do it:

Code:
&nbsp; &nbsp; &nbsp;<form> &nbsp; &nbsp; &nbsp; <select name='u_skin' class='forminput' onchange="window.location='/?act=UserCP&CODE=07&u_language=en&u_skin='+this.value"> &nbsp; &nbsp; &nbsp; <? &nbsp; &nbsp; &nbsp; $DB->query("SELECT uid, sid, sname FROM ib_beta_skins WHERE hidden <> 1"); &nbsp; &nbsp; &nbsp; if ( $DB->get_num_rows() ) &nbsp; &nbsp; &nbsp; &nbsp;{ &nbsp; &nbsp; &nbsp; &nbsp;while ( $s = $DB->fetch_row() ) &nbsp; &nbsp; &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; $skin_select .= $s['sid'] == $ibforums->member['skin'] ? "<option value='{$s['sid']}' selected>{$s['sname']}</option>" : "<option value='{$s['sid']}'>{$s['sname']}</option>"; &nbsp; &nbsp; &nbsp; &nbsp; } &nbsp; &nbsp; &nbsp; &nbsp;$skin_select .= "</select>"; &nbsp; &nbsp; &nbsp; &nbsp;} &nbsp; &nbsp; &nbsp; print("$skin_select"); &nbsp; &nbsp; &nbsp; ?> &nbsp; &nbsp; &nbsp;</form>
You'd just need to find the right place to stick that code, to get the selector to appear where you want it.
__________________
[img]http://celltrack.spv-developers.com/render/Zone-MR.png[/img]
[url="http://future.betaone.net/forum/links.php?url=http://future.betaone.net/forum/links.php?url=http://zone-mr.net"]http://zone-mr.net[/url] - Transcribing Life
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Officially Releases "Royale" Theme NewsBot ieXbeta News 0 21st Oct 04 09:51 PM
Distrowatch - Linux Guide felixml Alternative OS Support 0 5th Mar 02 02:17 PM


All times are GMT +1. The time now is 12:32 PM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.