Lavalair Cpanel Menu

Started on the old forum in April 2008 · view the original in the archive · old links redirect here

23 replies · 2,058 views · started 18 years ago · 1 min read

7 participants
hypetype Developer · 128 posts #1

am tryin to put my cpane into drop down menu but everytime i code a drop down menu it gives me problem External image (may be gone)

i think i need some help

i code the drop down menu in my cpanel, it shows on the pc when i use opera but gives errors on my phone. can some1 help me

echo "Cpanel Tools:
<select name=\"vopt\">";
echo "<option value=\"rwidc\">HT Portal ID card</option>";
echo "<option value=\"myclub\">My Clubs</option>";
echo "<option value=\"search\">Search</option>";
echo "</select>
";
echo "<anchor> [GO]<go href=\"index.php\" method=\"get\">";
echo "<postfield name=\"action\" value=\"$(vopt)\"/>";
echo "<postfield name=\"sid\" value=\"$sid\"/>";
echo "</go></anchor>
";
mcKeny Developer · 130 posts #2

remove the from the anchor.... beside you could of put the variable action and sid WHERE you have index.php eg index.php?action=vopt&sid=$sid . ....

R.M.C

PHP Adovocate B)

SiLeNce Developer · 138 posts #3

echo "Cpanel Tools: <select name="vopt">"; echo "<option value="rwidc">HT Portal ID card</option>"; echo "<option value="myclub">My Clubs</option>"; echo "<option value="search">Search</option>"; echo "</select> "; echo "<anchor> [GO]<go href="index.php" method="get">"; echo "<postfield name="action" value="$(vopt)"/>"; echo "<postfield name="sid" value="$sid"/>"; echo "</go></anchor> ";

try use this ~

echo "Cpanel Tools:"; echo " "; echo "<select name="vopt" value="">"; echo "<option value="rwidc">HT Portal ID card</option>"; echo "<option value="myclub">My Clubs</option>"; echo "<option value="search">Search</option>"; echo "</select>"; echo " "; echo "<anchor> [GO]<go href="index.php" method="get">"; echo "<postfield name="action" value="$(vopt)"/>"; echo "<postfield name="sid" value="$sid"/>"; echo "</go></anchor>"; echo " ";

wrong

rukiya Lead · 569 posts #5

am tryin to put my cpane into drop down menu but everytime i code a drop down menu it gives me problem External image (may be gone)

i think i need some help

i code the drop down menu in my cpanel, it shows on the pc when i use opera but gives errors on my phone. can some1 help me

echo "Cpanel Tools:
<select name=\"vopt\">";
echo "<option value=\"rwidc\">HT Portal ID card</option>";
echo "<option value=\"myclub\">My Clubs</option>";
echo "<option value=\"search\">Search</option>";
echo "</select>
";
echo "<anchor> [GO]<go href=\"index.php\" method=\"get\">";
echo "<postfield name=\"action\" value=\"$(vopt)\"/>";
echo "<postfield name=\"sid\" value=\"$sid\"/>";
echo "</go></anchor>
";

copy n replace this code its working for me both opera and nokia 6030

wrong

Attachments: copy_n_replace.txt
Guest #6

correction value=""/> close all value fields with /

wrong

Guest #7

lol@ mckeny the line break has nothing to do with it, if u notice it is outside of both select and anchor tag

Guest #9

rukiya it means that he didnt close the value field, the way it is works fine on pc however m mobile u would normally get an error i.e request fail depending on the type phone u are using another example External image (may be gone) notice the alt attribute

mcKeny Developer · 130 posts #10

hmmm yeah i figure that general...secondly you only use the /> end tag to close a empty element
or <postfield name="mc" value="keny"/> its not not valid for this <option value="mc">keny</option> the /> tag isn't require for that...get what am saying?

R.M.C

PHP Adovocate B)

Guest #12

mcKeny so what youre sayn is all tags that already have a closing a backslash shouldnt b considered? even the anchor tag mention above?

Guest #13

rukiya i dnt quite understand what youre saying

Guest #15

go and learn wml before posting wrong

LOL funny try understanding b4 u post bullshit

Guest #16

Try it now hypetype

echo "Cpanel Tools:
<select name=\"vopt\">";
echo "<option value=\"rwidc\"/>HT Portal ID card</option>";
echo "<option value=\"myclub\"/>My Clubs</option>";
echo "<option value=\"search\"/>Search</option>";
echo "</select>
";
echo "<anchor> [GO]<go href=\"index.php\" method=\"get\">";
echo "<postfield name=\"action\" value=\"$(vopt)\"/>";
echo "<postfield name=\"sid\" value=\"$sid\"/>";
echo "</go></anchor>
";

wrong

rukiya Lead · 569 posts #18

Try it now hypetype

echo "Cpanel Tools:
<select name=\"vopt\">";
echo "<option value=\"rwidc\"/>HT Portal ID card</option>";
echo "<option value=\"myclub\"/>My Clubs</option>";
echo "<option value=\"search\"/>Search</option>";
echo "</select>
";
echo "<anchor> [GO]<go href=\"index.php\" method=\"get\">";
echo "<postfield name=\"action\" value=\"$(vopt)\"/>";
echo "<postfield name=\"sid\" value=\"$sid\"/>";
echo "</go></anchor>
";
XML parsing failed: syntax error (Line: 5, Character: 1156)

Reparse document as HTML
Error:mismatched end-tag
Specification:[url]http://www.w3.org/TR/REC-xml/[/url]
  2: <wml>
  3: 
  4: 
  5: <card id="main" title="Control Panel"><p align="center">[img]images/cpanel.gif[/img]
[b]Control Panel[/b]</p>

[size="1"][url="inbox.php?action=main&sid=318bc233b7430f8a13c1aa586b131112"]»inbox(1/1)[/url]
[url="index.php?action=rwidc&sid=318bc233b7430f8a13c1aa586b131112"]»lavalair ID card.[/url]
[url="riputation.php?action=ricon&sid=318bc233b7430f8a13c1aa586b131112"]»Riputation Icon[/url]
[url="riputation.php?action=chrimsg&sid=318bc233b7430f8a13c1aa586b131112"]»Riputation Message[/url]
[url="index.php?action=myclub&sid=318bc233b7430f8a13c1aa586b131112"]»My Clubs[/url]
[url="index.php?action=viewuser&sid=318bc233b7430f8a13c1aa586b131112&who=3"]»Profile[/url]
[url="index.php?action=uset&sid=318bc233b7430f8a13c1aa586b131112"]»Settings[/url]
[url="index.php?action=uxset&sid=318bc233b7430f8a13c1aa586b131112"]»Extended Settings[/url]
[url="index.php?action=pws&sid=318bc233b7430f8a13c1aa586b131112"]»Personal Wap site[/url]
Cpanel Tools:
<select name="vopt"><option value="rwidc"/>HT Portal ID card</option><option value="myclub"/>My Clubs</option><option value="search"/>Search</option></select>
<anchor> [GO]<go href="index.php" method="get"><postfield name="action" value="$(vopt)"/><postfield name="sid" value="318bc233b7430f8a13c1aa586b131112"/></go></anchor>
Cpanel Tools:
<select name="vopt" value="rwidc"><option value="rwidc">bdfun ID card</option><option value="myclub">My Clubs</option><option value="search">Search</option></select><anchor> [GO]<go href="index.php" method="get"><postfield name="action" value="$(vopt)"/><postfield name="sid" value="318bc233b7430f8a13c1aa586b131112"/></go></anchor>
[url="lists.php?action=vault&sid=318bc233b7430f8a13c1aa586b131112&who=3"]»My Vault(0)[/url]
[url="lists.php?action=ignl&sid=318bc233b7430f8a13c1aa586b131112"]»Ignore List(0)[/url]
[url="lists.php?action=gbook&sid=318bc233b7430f8a13c1aa586b131112&who=3"]»Guestbook(0)[/url]
[url="index.php?action=poll&sid=318bc233b7430f8a13c1aa586b131112"]»My Poll[/url]
[url="lists.php?action=blogs&sid=318bc233b7430f8a13c1aa586b131112&who=3"]»Blogs(0)[/url]
[url="lists.php?action=chmood&sid=318bc233b7430f8a13c1aa586b131112"]»Chatmood[/url]
[url="status.php?action=status&sid=318bc233b7430f8a13c1aa586b131112"]»Status[/url]
[url="lists.php?action=smilies&sid=318bc233b7430f8a13c1aa586b131112"]»Smilies[/url]
[url="lists.php?action=avatars&sid=318bc233b7430f8a13c1aa586b131112"]»Avatars[/url]
[url="lists.php?action=ecards&sid=318bc233b7430f8a13c1aa586b131112"]»E-Cards[/url]
[url="lists.php?action=bbcode&sid=318bc233b7430f8a13c1aa586b131112"]»BBCode[/url]
[/size]</p><p align="center">[url="index.php?action=main&sid=318bc233b7430f8a13c1aa586b131112"][img]images/home.gif[/img]Home[/url]</p></card>
  6: </wml>
  7:

look this the result of using your own made imaginary codes now listen n learn tags to use. There are a few tags that do not follow the mold above. In a way, they still have the 3 parts (opening/closing and content). These tags however do not require a formal </closingtag> but rather a modified version. The reason being that these tags do not really require any content. Rather some of them just need a source URL and this is enough information for the web browser to display the tag properly (image tags). Let's take a look at a line break tag.

[img]../mypic.jpg[/img] -- Image Tag

 -- Line Break Tag
<input type="text" size="12" /> -- Input Field

you canT use echo "<option value="myclub"/>My Clubs</option>"; echo "<option value="search"/>Search</option>";

SpiderWap Lead · 622 posts #19

Thank you chatabox... He posted this in shoutbox comes from w3schools

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>
<card title="Selectable List"> 

<select>
  <option value="htm">HTML Tutorial</option>
  <option value="xml">XML Tutorial</option>
  <option value="wap">WAP Tutorial</option>
</select>
</p>
</card>

</wml>

wrong

chatabox Senior · 361 posts #20

here is and example from w3schools

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>
<card title="Selectable List"> 

 <select>
  <option value="htm">HTML Tutorial</option>
  <option value="xml">XML Tutorial</option>
  <option value="wap">WAP Tutorial</option>
 </select>
</p>
</card>
</wml>

wrong

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close