More Themes At Wapdesire Script

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

5 replies · 668 views · started 18 years ago · 1 min read

4 participants
nclemale36 Lead · 537 posts #2

How I can add more themes??? I have only this:

/////////////////Temi

else if($action=="sitethms")
{
  addonline(getuid_sid($sid),"Impostazione Tema","");
  echo "<head>";
  echo "<title>*MoDe3*</title>";
  echo "<link rel=\"stylesheet\" type=\"text/css\" 

href=\"../themes/$theme[0]\">";
  echo "</head>";
  echo "<body>";
  echo "<p align=\"center\">";
  echo "Temi per visualizzazione</p>";
  echo "

changing ur site theme will change all the colors of the site 

eg:
backround, text, links, typing fields etc..
";
  echo "<form action=\"genproc.php?action=updtthme&sid=$sid\" 

method=\"post\">";
  echo "<select name=\"thms\">";
  echo "<option value=\"white\">Bianco</option>";
  echo "<option value=\"black\">Nero</option>";
  echo "<option value=\"red\">Rosso</option>";
  echo "<option value=\"blue\">Blu</option>";
  echo "<option value=\"green\">Verde</option>";
  echo "<option value=\"pink\">Rosa</option>";
  echo "</select>";
  echo "<select name=\"size\">";
  echo "<option value=\"small\">Piccolo</option>";
  echo "<option value=\"medium\">Medio</option>";
  echo "<option value=\"large\">Grande</option>";
  echo "</select>";
  echo "<input type=\"Submit\" name=\"submit\" Value=\"invio\"></form>";
  echo "</p>";
  echo "<p align=\"center\">";
  echo "0 <a accesskey=\"0\" 

href=\"index.php?action=main&sid=$sid\"><img 

src=\"../images/home.gif\" alt=\"\"/>Home</a>";
  echo "</p>";
  echo "</body>";
}

pls any1 can help me??

add more of this part . echo "<option value="white">Bianco</option>"; echo "<option value="black">Nero</option>"; echo "<option value="red">Rosso</option>"; echo "<option value="blue">Blu</option>";

so for example you want skyblue theme ADD THIS echo "<option value="skyblue">skyblue</option>";

Then copy ya themes codes and another file called skyblue_medium.css do same for small and large .

then edit the colour codes in the file u just copied so they match the colours u want . for example skyblue colour code is 66CCFF .

you with me so far lol .

metulj Super moderator Principal · 1,726 posts #3

.............you with me so far lol .

i doubt LOL External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

amylee Principal · 1,092 posts #4

for the ppl with the low iq's here i will put what nclemale said into retardish language which you all should understand

echo "<option value=\"white\">Bianco</option>";
echo "<option value=\"black\">Nero</option>";
echo "<option value=\"red\">Rosso</option>";
echo "<option value=\"blue\">Blu</option>";

that adds the theme selection into a drop down menu and to add more items to that dropdown menu you need to add more lines like this one

echo "<option value=\"skyblue\">skyblue</option>";

then after adding then go create a css theme which looks like this

body {background-color:#FFFFFF;
font-family : Comic Sans MS;
font-size:medium;
margin: 0px;
padding: 1px;
color:#000000;}
p {padding:0px;}
input, select {color:#0000FF;
border: 1px ridge #0000FF;
font-family: Comic Sans MS, Tahoma, Verdana;
font-weight: bold;
background-color:#FFFFFF;}
* {text-decoration:none;}
img {border: 0px none;}
a, a:active, a:visited, a:hover {color:#0000FF;}
head {font-family : Comic Sans MS;
font-size:medium;}
.div {margin: 2px 0px 2px 0px;
padding: 2px 0px 2px 0px;
color:#FFFFFF;
background-color:#000000;
border: 1px solid #0000FF;
text-align: center;}
.center {text-align: center;}
.left {text-align: left;}
.link {color:#0000FF;}

edit that according toy our new colours and save as themename_small/medium/large.css

simple enough?

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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