Posts by Oceans
-
-
Dat was mijn vraag, of ik het zou kunnen (xD)
Thnx voor je hulp tcbhome :k
-
:O
Hij doet het :cheer:
THNX!!!!!
.....zou ik dit stukje code gewoon kunnen aanpassen voor de rest..... ?
-
tabel users

Kom dr echt niet uit.... Balen 8-)
-
-
Nee dat doet m ook niet
Ik gaat er vanavond nog wel ff naar kijken.....[offtopic]Boodschappen worden niet vanzelf gedaan ;)[/offtopic]
-
Heb het vervangen maar hij doet het nog niet

-
PHP
Toon Meer<? $werken2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`werken`) AS `werken`,0 FROM `users` WHERE `login`='$data->login'"); $werken1 = mysql_fetch_object($werken2); $datijd_werk = $data->werktijd; $countdown_werk = $werken1->werken+$datijd_werk-time(); $steel2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`steel`) AS `steel`,0 FROM `users` WHERE `login`='$data->login'"); $steel1 = mysql_fetch_object($steel2); $datijd_steel = $data->steeltijd; $countdown_steel = $steel1->steel+$datijd_steel-time(); $rip2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`riptijd`) AS `riptijd`,0 FROM `users` WHERE `login`='$data->login'"); $rip1 = mysql_fetch_object($rip2); $datijd_rip = $data->riptijd; $countdown_rip = $rip1->riptijd+$datijd_rip-time(); $autojat2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`autojattijd`) AS `autojattijd`,0 FROM `users` WHERE `login`='$data->login'"); $autojat1 = mysql_fetch_object($autojat2); $datijd_autojat = $data->autojatten; $countdown_autojat = $autojat1->autojattijd+$datijd_autojat-time(); $route662 = mysql_query("SELECT *,UNIX_TIMESTAMP(`route66`) AS `route66`,0 FROM `users` WHERE `login`='$data->login'"); $route661 = mysql_fetch_object($route662); $datijd_route66 = 900; $countdown_route66 = $route661->route66+$datijd_route66-time(); $hoeren2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`hoerentijd`) AS `hoerentijd`,0 FROM `users` WHERE `login`='$data->login'"); $hoeren1 = mysql_fetch_object($hoeren2); $datijd_hoeren = $data->hoerentijd; $countdown_hoeren = $hoeren1->hoerentijd+$datijd_hoeren-time(); $geluksrad2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`draaien`) AS `draaitijd`,0 FROM `users` WHERE `login`='$data->login'"); $geluksrad1 = mysql_fetch_object($geluksrad2); $datijd_geluksrad = $data->draaien; $countdown_geluksrad = $geluksrad1->draaien+$datijd_geluksrad-time(); $hogerlager2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`hl`) AS `hltijd`,0 FROM `users` WHERE `login`='$data->login'"); $hogerlager1 = mysql_fetch_object($hogerlager2); $datijd_hogerlager = $data->hl; $countdown_hogerlager = $hogerlager1->hl+$datijd_hogerlager-time(); ?> <div class="title_bg"> <div class="title"><STRONG>Wachttijden</STRONG></div> </div> <div style="background-color:#dbd2b7; padding:10px; padding-top:4px;"> <table cellpadding="0" cellspacing="0" width="100%"><tr><td> <table width="100%" class="mod_list" cellspacing="2" cellpadding= "2"> <tr> <td align='center'><div align="center"></div></td> <td><div align="center"><strong>Activiteit</strong></div></td> <td align='center'><div align="center"></div></td> <td><div align="center"><strong>Wachttijd</strong></div></td> <td align='center'><div align="center"></div></td> <td><div align="center"><strong>Activiteit</strong></div></td> <td align='center'><div align="center"></div></td> <td><div align="center"><strong>Wachttijd</strong></div></td> </tr> <tr> <td width="5px" align="center"><div align="center"><img src="images/icons/stats_bank.png"></div></td> <td><div align=""><b><a href="index.php?a=work">Werken</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_werk"></font></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons/racing.png"></div></td> <td><div align=""><b><a href="index.php?a=mod_crim_route66">Route 66</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_route66"></font></b></div></td> </tr> <tr> <td width="5px" align="center"><div align="center"><img src="images/icons/crime.png"></div></td> <td><div align=""><b><a href="index.php?a=crimes">Misdaden</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_steel"></font></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/bomb.gif" alt="" /></div></td> <td><div align=""><b><a href="index.php?a=redlightdistrict">Hoeren</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_hoeren"></font></b></div></td> </tr> <tr> <td width="5px" align="center"><div align="center"><img src="images/icons/drugs.png"></div></td> <td><div align=""><b><a href="index.php?a=ripdeal">Ripdeal</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_rip"></font></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons/wheel.png" alt="" /></div></td> <td><div align=""><b><a href="index.php?a=fortune">Geluksrad</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_geluksrad"></font></b></div></td> </tr> <tr> <td width="5px" align="center"><div align="center"><img src="images/icons/car.png"></div></td> <td><div align=""><b><a href="index.php?a=stealcars">Auto stelen</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_autojat"></font></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons/hilo.png" alt="" /></div></td> <td><div align=""><b><a href="index.php?a=higherlower">Hoger lager</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_hogerlager"></font></b></div></td> </tr> </table> </td></tr></table> </div> <table width='100%' cellspacing='2' cellpadding='2'> <tr> <td class='content_bottom'></td> </tr> </table> <script language="javascript"> countdown('<?echo$countdown_werk;?>','count_werk', ''); countdown('<?echo$countdown_steel;?>','count_steel', ''); countdown('<?echo$countdown_overval;?>','count_rip', ''); countdown('<?echo$countdown_autojat;?>','count_autojat', ''); countdown('<?echo$countdown_route66;?>','count_route66', ''); countdown('<?echo$countdown_hoeren;?>','count_hoeren', ''); countdown('<?echo$countdown_geluksrad;?>','count_geluksrad', ''); countdown('<?echo$countdown_hogerlager;?>','count_hogerlager', ''); </script>Sorry ^o)
-
Hallo iedereen

Ik heb net de wachttijden op mijn site gezet, icoontjes veranderd etc, maar nu kom ik er net achter dat de de "timers" van route66, hoeren, geluksrad en hoger/lager het niet doen.
Heb de tips uit verschillende andere (gesloten) topics al geprobeerd maar niks lijkt te werken.
Waarschijnlijk kijk ik ergens overheen of ben ik iets vergeten

Wie o wie kan even met me meekijken
PHP
Toon Meer<td width="5px" align="center"><div align="center"><img src="images/icons/stats_bank.png"></div></td> <td><div align=""><b><a href="index.php?a=work">Werken</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_werk"></font></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons/racing.png"></div></td> <td><div align=""><b><a href="index.php?a=mod_crim_route66">Route 66</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_route66"></font></b></div></td> </tr> <tr> <td width="5px" align="center"><div align="center"><img src="images/icons/crime.png"></div></td> <td><div align=""><b><a href="index.php?a=crimes">Misdaden</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_steel"></font></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/bomb.gif" alt="" /></div></td> <td><div align=""><b><a href="index.php?a=redlightdistrict">Hoeren</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_hoeren"></font></b></div></td> </tr> <tr> <td width="5px" align="center"><div align="center"><img src="images/icons/drugs.png"></div></td> <td><div align=""><b><a href="index.php?a=ripdeal">Ripdeal</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_rip"></font></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons/wheel.png" alt="" /></div></td> <td><div align=""><b><a href="index.php?a=fortune">Geluksrad</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_geluksrad"></font></b></div></td> </tr> <tr> <td width="5px" align="center"><div align="center"><img src="images/icons/car.png"></div></td> <td><div align=""><b><a href="index.php?a=stealcars">Auto stelen</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_autojat"></font></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons/hilo.png" alt="" /></div></td> <td><div align=""><b><a href="index.php?a=higherlower">Hoger lager</a></b></div></td> <td width="5px" align="center"><div align="center"><img src="images/icons_gif/time.gif"></div></td> <td><div align="center"><b><font id="count_hogerlager"></font></b></div></td> </tr>Groetjes Oceans
-
Had jou post niet eens gezien ^o)
Je hebt gelijk, foutje zit in Left_column.php (h)
Thanks!! :slotje:
-
PHP
Toon Meer/*--------------------------------------------------------------------------- Main styles ---------------------------------------------------------------------------*/ html { font-size: 12px; } body,div,td { font-family: Verdana, arial; font-size: 12px; color: #442C14; } body { margin: 0px auto; padding: 0px auto; text-align: center; font-size: 12px; background: #010101; } #container { width: 1000px; height: 100%; margin-left: auto; margin-right: auto; text-align: left; } #footer { width: 100%; text-align: center; color: #CCCCCC; } #overlay{ background-image: url(../images/overlay/overlay.png); } /*--------------------------------------------------------------------------- Padding styles ---------------------------------------------------------------------------*/ .clear { width: 0px; height: 0px; clear: both; font-size: 0px; white-space: no-wrap; } .padding-5 { padding: 5px; } .padding-10 { padding: 10px; } .padding-10-20 { padding-top: 10px; padding-left: 20px; } .no_padding { padding: 0px; } /*--------------------------------------------------------------------------- Menu styles ---------------------------------------------------------------------------*/ .menu { width: 200px; height: 100%; background: #dcd3b8; } #logo_holder { background: #000000; height: 100px; } #menu_top_decoration { display: none; height: 18px; width: 180px; background: url('../images/layout_v2/top_decoration_menu.jpg'); background-repeat: no-repeat; } .content_area_top { width: 100%; height: 100px; background: #000000; background-repeat: no-repeat; } .mission_notification_container { position: absolute; width: 640px; height: 30px; align: right; top: 70px; } .menu_margin { margin-left: 10px; margin-top: 0px; padding-top: 0px; width: 180px; } #top_corner { position: relative; display: block; width: 8px; height: 8px; top: 0px; left: -10px; background: url('../images/layout_v2/corners_left_black.png'); background-repeat: no-repeat; background-position:top; font-size: 0px; } .menu_left_top { width: 180px; height: 90px; } .menu_item_top { width: 180px; height: 45px; } .menu_item_middle { widht: 180px; height: auto; background: #C8B894; padding: 10px; color: #4C2601; } .menu_item_seperator { width: 150px; height: 2px; margin-left: 10px; margin-right: 00px; margin-top: 4px; margin-bottom: 2px; background: url('../images/layout_v2/background_seperator.jpg') repeat-x; font-size: 0px; } .menu_item_bottom { widht: 180px; height: 10px; font-size: 0px; background: #4E3228 url('../images/layout_v2/menu_item_bottom.jpg') no-repeat; } .menu_right_top { width: 200px; height: auto; background: #ddd3b8 url('../images/layout_v2/background_menu_right_top.jpg') no-repeat; } #nohelp { padding: 15px; margin: 0px; } .menu_right_top_stats { height: 22px; font-size: 11px; } .top_stats_img { height: 16px; } .menu_right_meter_bg { position: relative; height: 18px; width: 120px; background: url('../images/layout_v2/background_meter_brown.jpg') repeat-x; } .menu_right_meter { position: relative; height: 14px; margin-top: 0px; margin-left: 0px; font-size: 10px; background: url('../images/layout_v2/background_meter_red.jpg') repeat-x; } /*--------------------------------------------------------------------------- Content styles ---------------------------------------------------------------------------*/ .content { float: left; width: 640px; height: 100%; background: #D5C8AA; } #content_top_decoration { display: none; height: 30px; width: 100%; background: url('../images/layout_v2/top_decoration.jpg'); background-repeat: repeat-x; } .content_area { width: 640px; height: auto; padding: 0px; } .content_title { width: 100%; height: 35px; background: url('../images/layout_v2/background_content_title_middle2.jpg') repeat-x; } .content_title_left { float: left; width: 15px; height: 35px; background: url('../images/layout_v2/background_content_title_left2.jpg') no-repeat; } .content_title_middle { float: left; width: auto; height: 35px; } .content_title_right { float: right; width: 15px; height: 35px; background: url('../images/layout_v2/background_content_title_right2.jpg') no-repeat; } .content_titel_up_down { position: relative; float: right; width: 18px; height: 5px; } .brown_border { width: 100%; height: 10px; background: #442C12; font-size: 0px; padding: 0px; border: 0px solid black; } .brown_border_top_left { float: left; width: 10px; height: 10px; background: url('../images/layout_v2/brown_border_top_left.jpg') no-repeat; font-size: 0px; } .brown_border_top_middle { float: left; width: auto; height: 10px; background: #442C12; font-size: 0px; } .brown_border_top_right { float: right; width: 10px; height: 10px; background: url('../images/layout_v2/brown_border_top_right.jpg') no-repeat; font-size: 0px; } .content_text_area { width: 100%; padding: 0px; margin: 0px; background: #dbd2b9; } .brown_border_bottom_left { float: left; width: 10px; height: 10px; background: url('../images/layout_v2/brown_border_bottom_left.jpg') no-repeat; background-position:bottom; font-size: 0px; } .brown_border_bottom_middle { float: left; width: auto; height: 10px; background: #000000; font-size: 0px; } .brown_border_bottom_right { float: right; width: 10px; height: 10px; background: url('../images/layout_v2/brown_border_bottom_right.jpg') no-repeat; background-position:bottom; font-size: 0px; } /*--------------------------------------------------------------------------- Tables ---------------------------------------------------------------------------*/ .mod_list td{ background: #eae6d9; } /*------------------------------------------------------------ BBCODE -------------------------------------------------------------*/ .quote {background-color:#efefef; border:solid 1px #999999;} /*------------------------------------------------------------ POPUP -------------------------------------------------------------*/ div#div_popunder { width: 100%; height: 100%; top: 0; left: 0; position: absolute; background-image: url(../images/layout/semi-transparent2.gif); z-index: 4; } div#div_popunder_bg { width: 100%; height: 100%; top: 0; left: 0; position: absolute; background-image: url(../images/layout/semi-transparent2.gif); display: none; z-index: 0; } .div_popup { width: 400px; text-align: center; align:center; background-color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 12px; padding: 25px; font-weight: bold; border: 2px solid #56b7e4; } .div_popup_error { width:400px; text-align: center; align:center; background-color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: 12px; padding: 25px; font-weight: bold; border: 2px solid red; } .charactermail { position:relative; width:100%; } .charactermail_container { position:relative; float:left; border:1px solid #999999; background:#FFFFFF; } .charactermail_img { position:absolute; right:0px; bottom:0px; width:137px; height:137px; margin-bottom:0px; } .charactermail_lt { position:absolute; width:8px; height:8px; display:block; background:url('../images/layout_v2/corner_charactermail_lt.jpg'); left:-1px; top:-1px; } .charactermail_rt { position:absolute; width:8px; height:8px; display:block; background:url('../images/layout_v2/corner_charactermail_rt.jpg'); right:-1px; top:-1px; } .charactermail_lb { position:absolute; width:8px; height:8px; display:block; background:url('../images/layout_v2/corner_charactermail_lb.jpg'); left:-1px; bottom:-1px; } .charactermail_rb { position:absolute; width:8px; height:8px; display:block; background:url('../images/layout_v2/corner_charactermail_rb.jpg'); right:-1px; bottom:-1px; } .charactermail_pin { position:absolute; width:15px; height:14px; display:block; background:url('../images/layout_v2/pin_charactermail_right.jpg'); right:-15px; bottom:10px; } .charactermail_img { position:relative; float:left; bottom:0px; width:137px; height:137px; margin-bottom:0px; } .charactercreditmissed_container { position:relative; float:right; border:1px solid #999999; background:#FFFFFF; width:450px; } .charactercreditmissed_pin { position:absolute; width:15px; height:14px; display:block; background:url('../images/layout_v2/pin_charactercreditmissed_left.jpg'); left:-15px; bottom:10px; } /*--------------------------------------------------------------------------- Images ---------------------------------------------------------------------------*/ .arrow { width: 9px; height: 9px; border: 0px; margin-right: 5px; } /*--------------------------------------------------------------------------- Fonts ---------------------------------------------------------------------------*/ .font_content_title { float:left; display: block; margin-top: 8px; font-family: Century Gothic, Verdana; font-size: 16px; font-weight: bold; } .font_content_title2 { display: block; font-family: Century Gothic, Verdana; font-size: 14px; font-weight: bold; color: #442C14; } .font_label { display: block; width: 100%; height: 100%; margin-top: 2px; } /*--------------------------------------------------------------------------- Forms ---------------------------------------------------------------------------*/ input[type=text] { background: #fff url(../images/text_bg.jpg) repeat-x top; height: 20px; line-height: 20px; border: 3px solid #cfc5b1; padding-left: 2px; padding-right: 2px; padding-top: 0px; padding-bottom: 0px; margin: 0px; } input[type=password] { background: #fff url(../images/text_bg.jpg) repeat-x top; height: 20px; line-height: 20px; border: 3px solid #cfc5b1; padding-left: 2px; padding-right: 2px; padding-top: 0px; padding-bottom: 0px; margin: 0px; } input.submit { background: #dad3c3; border: 3px solid #3f241d; font-weight: bold; font-size: 8pt; color: #3f241d; padding: 1px } input.mod_submit { background: #dad3c3; border: 3px solid #3f241d; font-weight: bold; font-size: 8pt; color: #3f241d; padding: 1px } /*--------------------------------------------------------------------------- Links ---------------------------------------------------------------------------*/ a:link { font-family: verdana,arial; font-size: 12px; color: #70130e; text-decoration: none; } a:active { font-family: verdana,arial; font-size: 12px; color: #70130e; text-decoration: underline; } a:visited { font-family: verdana,arial; font-size: 12px; color: #70130e; text-decoration: none; } a:hover { font-family: verdana,arial; font-size: 12px; color: #70130e; text-decoration: underline; } a.white:link { font-family: verdana,arial; font-size: 12px; color: #FFFFFF; text-decoration: none; } a.white:active { font-family: verdana,arial; font-size: 12px; color: #FFFFFF; text-decoration: underline; } a.white:visited { font-family: verdana,arial; font-size: 12px; color: #FFFFFF; text-decoration: none; } a.white:hover { font-family: verdana,arial; font-size: 12px; color: #FFFFFF; text-decoration: underline; } a.bordeaux:link { font-family: verdana,arial; font-size: 12px; color: #5a0000; text-decoration: none; } a.bordeaux:active { font-family: verdana,arial; font-size: 12px; color: #5a0000; text-decoration: underline; } a.bordeaux:visited { font-family: verdana,arial; font-size: 12px; color: #5a0000; text-decoration: none; } a.bordeaux:hover { font-family: verdana,arial; font-size: 12px; color: #5a0000; text-decoration: underline; } a.menu_item:link { font-family: verdana,arial; font-size: 12px; color: #4C2601; text-decoration: none; } a.menu_item:active { font-family: verdana,arial; font-size: 12px; color: #4C2601; text-decoration: underline; } a.menu_item:visited { font-family: verdana,arial; font-size: 12px; color: #4C2601; text-decoration: none; } a.menu_item:hover { font-family: verdana,arial; font-size: 12px; color: #4C2601; text-decoration: underline; } a.link_title:link { font-family: Century Gothic, Verdana; font-size: 16px; color: #5a0000; text-decoration: bold; } a.link_title:active { font-family: Century Gothic, Verdana; font-size: 16px; color: #5a0000; text-decoration: bold; } a.link_title:visited { font-family: Century Gothic, Verdana; font-size: 16px; color: #5a0000; text-decoration: bold; } a.link_title:hover { font-family: Century Gothic, Verdana; font-size: 16px; color: #5a0000; text-decoration: bold; } a.error_ok{ color:red; font-family:verdana; font-size:12px; font-weight:bold; text-decoration:none; } a.error_ok:hover{ text-decoration:underline; } a.link_small:link { font-family: Verdana; font-size: 11px; color: #FFFFFF; text-decoration: none; } a.link_small:active { font-family: Verdana; font-size: 11px; color: #FFFFFF; text-decoration: none; } a.link_small:visited { font-family: Verdana; font-size: 11px; color: #FFFFFF; text-decoration: none; } a.link_small:hover { font-family: Verdana; font-size: 11px; color: #FFFFFF; text-decoration: none; }deze?
-
Goeiemorgen iedereen!
Ik heb een probleempje met mijn layout, zoals de titel al zegt :p
Op het moment dat ik een missie heb voltooid, wordt mijn layout uit zijn proporties getrokken.....
Zo moet ie zijn:
http://img718.imageshack.us/img718/9109/screenshot2ny.jpg
Zo komt het eruit te zien:
http://img718.imageshack.us/img718/1008/screenshotqk.jpg
Hoe kan ik ervoor zorgen dat de layout, wat je ook doet, er goed uit blijft zien?
Groetjes Oceans
-
Willem Leer elke dag weer wat bij 8-|
-
Citaat van Mokerr
Ow wat ben ik blij met de overvloed aan hulp!! Heb de exit niet hoeven aanpassen, want nu mijn stukje code heb vervangen door die van vergeten, geeft hij vanzelf de melding: Je probeert drugs te verkopen die je helemaal niet hebt! Waardoor pekelterror's stukje overbodig is geworden en de right_colum gewoon verschijnt (h)
Bedankt iedereen!!
:slotje:
-
Citaat van tcbhome
Dat lukt niet 8-)
PHP
Toon Meer<?php $aantal = $_POST['aantal']; $aantal = str_replace(" ", "", $aantal); if(!empty($_POST)){ if(!ctype_digit($aantal)){ echo "Bestaat niet alleen uit cijfers"; exit(); } echo "Uw aantal was: $aantal"; } ?> <form method="post"> <input name="aantal"> <input type="submit"> </form>Doet het bij nader inzien ook niet..... Melding verschijnt netjes, net als de -9999 zakjes opium en 4,5 mil cash

-
Thanks! Als dit 't fixt ben ik al helemaal gelukkig

Laat het straks nog wel even weten.
Groetjes Oceans
-edit-
Hij doet het (xD) Hij geeft dit aan: Bestaat niet alleen uit cijfers....Wel jammer dat nu me halve layout wegvalt.... Misschien verkeerd geplaatst?
-
PHP
Toon Meer<? $land11 = mysql_query("SELECT * FROM `drugskoers` WHERE `land`='1'"); $land1 = mysql_fetch_object($land11); $land21 = mysql_query("SELECT * FROM `drugskoers` WHERE `land`='2'"); $land2 = mysql_fetch_object($land21); $land31 = mysql_query("SELECT * FROM `drugskoers` WHERE `land`='3'"); $land3 = mysql_fetch_object($land31); $land41 = mysql_query("SELECT * FROM `drugskoers` WHERE `land`='4'"); $land4 = mysql_fetch_object($land41); $land51 = mysql_query("SELECT * FROM `drugskoers` WHERE `land`='5'"); $land5 = mysql_fetch_object($land51); $land61 = mysql_query("SELECT * FROM `drugskoers` WHERE `land`='6'"); $land6 = mysql_fetch_object($land61); $ditland1 = mysql_query("SELECT * FROM `drugskoers` WHERE `land`='$data->city'"); $ditland = mysql_fetch_object($ditland1); if(isset($_POST['go'])){ if($_POST['drug_0'] <= $data->nederwiet && $_POST['drug_1'] <= $data->paddo && $_POST['drug_2'] <= $data->xtc && $_POST['drug_3'] <= $data->lsd && $_POST['drug_4'] <= $data->speed && $_POST['drug_5'] <= $data->opium && $_POST['drug_6']){ if($_POST['drug_1']+$_POST['drug_2']+$_POST['drug_3']+$_POST['drug_4']+$_POST['drug_5']+$_POST['drug_6'] > 0){ $error = niks; $gelderbij = $ditland->nederwiet*$_POST['drug_1']+$ditland->paddo*$_POST['drug_2']+$ditland->xtc*$_POST['drug_3']+$ditland->lsd*$_POST['drug_4']+$ditland->speed*$_POST['drug_5']+$ditland->opium*$_POST['drug_6']; mysql_query("UPDATE `users` SET `contant`=`contant`+'$gelderbij',`nederwiet`=`nederwiet`-'{$_POST['drug_1']}',`paddo`=`paddo`-'{$_POST['drug_2']}',`xtc`=`xtc`-'{$_POST['drug_3']}',`lsd`=`lsd`-'{$_POST['drug_4']}',`speed`=`speed`-'{$_POST['drug_5']}',`opium`=`opium`-'{$_POST['drug_6']}' WHERE `id`='$data->id'"); } } $post = $_POST['drug_1']+$_POST['drug_2']+$_POST['drug_3']+$_POST['drug_4']+$_POST['drug_5']+$_POST['drug_6']; if($post <= 0){ $error = 1;} if($_POST['drug_0'] > $data->nederwiet || $_POST['drug_1'] > $data->paddo || $_POST['drug_2'] > $data->xtc || $_POST['drug_3'] > $data->lsd || $_POST['drug_4'] > $data->speed || $_POST['drug_5'] > $data->opium || $_POST['drug_6']){ $error = 2;} } if($error == 2){?> <table width="100%"> <tr> <td align="center"> <br><br><br><br> <table class="div_popup_error" align="center"> <tr> <td style="color:red"> <b>FOUT!</b><br><br>Je probeert drugs te verkopen die je helemaal niet hebt </td> </tr> <tr> <td> <br><br> <a href="#" onclick="history.go(-1); return false" class="error_ok">OK</a> </td> </tr> </table> </td> </tr> </table> </div> </td> </tr> </table> </td> <?} if($error == 1){?> <table width="100%"> <tr> <td align="center"> <br><br><br><br> <table class="div_popup_error" align="center"> <tr> <td style="color:red"> <b>FOUT!</b><br><br>Je hebt een ongeldig aantal ingevoerd </td> </tr> <tr> <td> <br><br> <a href="#" onclick="history.go(-1); return false" class="error_ok">OK</a> </td> </tr> </table> </td> </tr> </table> </div> </td> </tr> </table> </td> <?} if($error == niks){ $_SESSION['mission'] = "Verdien geld door je drugs te verkopen"; ?> <table width="100%"> <tr> <td align="center"> <br><br><br><br> <table class="div_popup" align="center"> <tr> <td> Je drugs zijn verkocht, dit heeft je € <?echo$gelderbij;?>,- opgeleverd. </td> </tr> <tr> <td> <br><br> <a href="index.php?a=selldrugs" class="msg_ok">Klik hier indien je niet automatisch verder gaat.</a> </td> </tr> </table> </td> </tr> </table> <script language="javascript"> setTimeout("document.location.href='index.php?a=selldrugs'",(3000*2)); </script> </div> </td> </tr> </table> </td> <?} if($error == ""){ ?> <div class="title_bg"><div style="font-size:17px; color:#1b1a17; margin-left:10px; padding-top:4px;">Drugs verkopen</div></div> <div style="width:100%; height:auto; background:#c3b79d; font-family:arial; font-size:12px; color:#2a190e;"> <div style="padding:5px; padding-bottom:10px;"> Verdien hier geld door je drugs te verkopen </div> </div> <script language="javascript"> function openTab(pTabPage,pTab){ document.getElementById('drug_sell').style.display = 'none'; document.getElementById('drug_index').style.display = 'none'; document.getElementById(pTabPage).style.display = 'block'; document.getElementById('tab1').style.background = ''; document.getElementById('tab1').style.fontWeight = 'normal'; document.getElementById('tab2').style.background = ''; document.getElementById('tab2').style.fontWeight = 'normal'; document.getElementById(pTab).style.background = 'url(\'images/tab_info_arrow.gif\') bottom no-repeat'; document.getElementById(pTab).style.fontWeight = 'bold'; } </script> <div style="width:100%; height:25px; background:url('images/tab_info_bg.jpg') repeat-x; font-family:arial; font-size:12px; color:#2a190e;"> <div id="tab1" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px; background:url('images/tab_info_arrow.gif') bottom no-repeat; font-weight:bold;"><a href="#" onclick="openTab('drug_sell','tab1'); return false">Drugs verkopen</a></div> <div style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">|</div> <div id="tab2" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;"><a href="#" onclick="openTab('drug_index','tab2'); return false">Drugs koersen</a></div> </div> <div style="background-color:#dbd2b7; "> <br> <table cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td> <div id="drug_sell"> Behalve je drugs te koop zetten heb je ook de mogelijkheid deze te verkopen in cafe's, discotheken, op parkeerplaatsen en dergelijke. Hoeveel geld je per zakje ontvangt hangt af van wat de zogenaamde drugskoers is in de stad. Deze kun je vinden op onder het tabblad "Drugs koersen" <br /><br /> <table align="center" width="100%"> <tr> <td> <form method="POST"> <table width="100%" cellpadding="2" cellspacing="2" class="mod_list"> <tr class="top"> <td><b>Nederwiet Upgrade</b></td><td width="6%" align="center"><img src="images/icons_gif/pill.gif" alt="Drugs"></td><td>Bezit: <?echo$data->nederwiet;?> zakjes</td> </tr> <tr class="top"> <td>Verkopen:</td><td width="6%" align="center"><img src="images/icons_gif/pill_go.gif" alt="Drugs"></td><td><input type="text" name="drug_1" size="5" value="0"> zakjes</td> </tr> <tr height="5"> </tr> <tr class="top"> <td><b>Paddo Upgrade</b></td><td width="6%" align="center"><img src="images/icons_gif/pill.gif" alt="Drugs"></td><td>Bezit: <?echo$data->paddo;?> zakjes</td> </tr> <tr class="top"> <td>Verkopen:</td><td width="6%" align="center"><img src="images/icons_gif/pill_go.gif" alt="Drugs"></td><td><input type="text" name="drug_2" size="5" value="0"> zakjes</td> </tr> <tr height="5"> </tr> <tr class="top"> <td><b>XTC Upgrade</b></td><td width="6%" align="center"><img src="images/icons_gif/pill.gif" alt="Drugs"></td><td>Bezit: <?echo$data->xtc;?> zakjes</td> </tr> <tr class="top"> <td>Verkopen:</td><td width="6%" align="center"><img src="images/icons_gif/pill_go.gif" alt="Drugs"></td><td><input type="text" name="drug_3" size="5" value="0"> zakjes</td> </tr> <tr height="5"> </tr> <tr class="top"> <td><b>LSD Upgrade</b></td><td width="6%" align="center"><img src="images/icons_gif/pill.gif" alt="Drugs"></td><td>Bezit: <?echo$data->lsd;?> zakjes</td> </tr> <tr class="top"> <td>Verkopen:</td><td width="6%" align="center"><img src="images/icons_gif/pill_go.gif" alt="Drugs"></td><td><input type="text" name="drug_4" size="5" value="0"> zakjes</td> </tr> <tr height="5"> </tr> <tr class="top"> <td><b>Speed Upgrade</b></td><td width="6%" align="center"><img src="images/icons_gif/pill.gif" alt="Drugs"></td><td>Bezit: <?echo$data->speed;?> zakjes</td> </tr> <tr class="top"> <td>Verkopen:</td><td width="6%" align="center"><img src="images/icons_gif/pill_go.gif" alt="Drugs"></td><td><input type="text" name="drug_5" size="5" value="0"> zakjes</td> </tr> <tr height="5"> </tr> <tr class="top"> <td><b>Opium Upgrade</b></td><td width="6%" align="center"><img src="images/icons_gif/pill.gif" alt="Drugs"></td><td>Bezit: <?echo$data->opium;?> zakjes</td> </tr> <tr class="top"> <td>Verkopen:</td><td width="6%" align="center"><img src="images/icons_gif/pill_go.gif" alt="Drugs"></td><td><input type="text" name="drug_6" size="5" value="0"> zakjes</td> </tr> <tr height="5"> </tr> </table> <br /> <div align="center"><input type="submit" name="go" value="Verkoop de drugs!" class="mod_submit"></div> </form> </td> </tr> </table> </div> <div id="drug_index" style="display:none"> <? //De cron update moet zijn: ///////////////////////////////////////// // nederwiet: 650 tm 1300 // // paddo: 1200 tm 2200 // // xtc: 2000 tm 3100 // // lsd: 3000 tm 4000 // // speed: 4000 tm 4600 // // opium: 4600 tm 5200 // ///////////////////////////////////////// if($land1->opium > $land2->opium && $land1->opium > $land3->opium && $land1->opium > $land4->opium && $land1->opium > $land5->opium && $land1->opium > $land6->opium){$opiumhoogst = 1;} if($land2->opium > $land1->opium && $land2->opium > $land3->opium && $land2->opium > $land4->opium && $land2->opium > $land5->opium && $land2->opium > $land6->opium){$opiumhoogst = 2;} if($land3->opium > $land1->opium && $land3->opium > $land2->opium && $land3->opium > $land4->opium && $land3->opium > $land5->opium && $land3->opium > $land6->opium){$opiumhoogst = 3;} if($land4->opium > $land1->opium && $land4->opium > $land2->opium && $land4->opium > $land3->opium && $land4->opium > $land5->opium && $land4->opium > $land6->opium){$opiumhoogst = 4;} if($land5->opium > $land1->opium && $land5->opium > $land2->opium && $land5->opium > $land3->opium && $land5->opium > $land4->opium && $land5->opium > $land6->opium){$opiumhoogst = 5;} if($land6->opium > $land1->opium && $land6->opium > $land2->opium && $land6->opium > $land3->opium && $land6->opium > $land4->opium && $land6->opium > $land5->opium){$opiumhoogst = 6;} if($land1->nederwiet > $land2->nederwiet && $land1->nederwiet > $land3->nederwiet && $land1->nederwiet > $land4->nederwiet && $land1->nederwiet > $land5->nederwiet && $land1->nederwiet > $land6->nederwiet){$wiethoogst = 1;} if($land2->nederwiet > $land1->nederwiet && $land2->nederwiet > $land3->nederwiet && $land2->nederwiet > $land4->nederwiet && $land2->nederwiet > $land5->nederwiet && $land2->nederwiet > $land6->nederwiet){$wiethoogst = 2;} if($land3->nederwiet > $land1->nederwiet && $land3->nederwiet > $land2->nederwiet && $land3->nederwiet > $land4->nederwiet && $land3->nederwiet > $land5->nederwiet && $land3->nederwiet > $land6->nederwiet){$wiethoogst = 3;} if($land4->nederwiet > $land1->nederwiet && $land4->nederwiet > $land2->nederwiet && $land4->nederwiet > $land3->nederwiet && $land4->nederwiet > $land5->nederwiet && $land4->nederwiet > $land6->nederwiet){$wiethoogst = 4;} if($land5->nederwiet > $land1->nederwiet && $land5->nederwiet > $land2->nederwiet && $land5->nederwiet > $land3->nederwiet && $land5->nederwiet > $land4->nederwiet && $land5->nederwiet > $land6->nederwiet){$wiethoogst = 5;} if($land6->nederwiet > $land1->nederwiet && $land6->nederwiet > $land2->nederwiet && $land6->nederwiet > $land3->nederwiet && $land6->nederwiet > $land4->nederwiet && $land6->nederwiet > $land5->nederwiet){$wiethoogst = 6;} if($land1->paddo > $land2->paddo && $land1->paddo > $land3->paddo && $land1->paddo > $land4->paddo && $land1->paddo > $land5->paddo && $land1->paddo > $land6->paddo){$paddohoogst = 1;} if($land2->paddo > $land1->paddo && $land2->paddo > $land3->paddo && $land2->paddo > $land4->paddo && $land2->paddo > $land5->paddo && $land2->paddo > $land6->paddo){$paddohoogst = 2;} if($land3->paddo > $land1->paddo && $land3->paddo > $land2->paddo && $land3->paddo > $land4->paddo && $land3->paddo > $land5->paddo && $land3->paddo > $land6->paddo){$paddohoogst = 3;} if($land4->paddo > $land1->paddo && $land4->paddo > $land2->paddo && $land4->paddo > $land3->paddo && $land4->paddo > $land5->paddo && $land4->paddo > $land6->paddo){$paddohoogst = 4;} if($land5->paddo > $land1->paddo && $land5->paddo > $land2->paddo && $land5->paddo > $land3->paddo && $land5->paddo > $land4->paddo && $land5->paddo > $land6->paddo){$paddohoogst = 5;} if($land6->paddo > $land1->paddo && $land6->paddo > $land2->paddo && $land6->paddo > $land3->paddo && $land6->paddo > $land4->paddo && $land6->paddo > $land5->paddo){$paddohoogst = 6;} if($land1->xtc > $land2->xtc && $land1->xtc > $land3->xtc && $land1->xtc > $land4->xtc && $land1->xtc > $land5->xtc && $land1->xtc > $land6->xtc){$xtchoogst = 1;} if($land2->xtc > $land1->xtc && $land2->xtc > $land3->xtc && $land2->xtc > $land4->xtc && $land2->xtc > $land5->xtc && $land2->xtc > $land6->xtc){$xtchoogst = 2;} if($land3->xtc > $land1->xtc && $land3->xtc > $land2->xtc && $land3->xtc > $land4->xtc && $land3->xtc > $land5->xtc && $land3->xtc > $land6->xtc){$xtchoogst = 3;} if($land4->xtc > $land1->xtc && $land4->xtc > $land2->xtc && $land4->xtc > $land3->xtc && $land4->xtc > $land5->xtc && $land4->xtc > $land6->xtc){$xtchoogst = 4;} if($land5->xtc > $land1->xtc && $land5->xtc > $land2->xtc && $land5->xtc > $land3->xtc && $land5->xtc > $land4->xtc && $land5->xtc > $land6->xtc){$xtchoogst = 5;} if($land6->xtc > $land1->xtc && $land6->xtc > $land2->xtc && $land6->xtc > $land3->xtc && $land6->xtc > $land4->xtc && $land6->xtc > $land5->xtc){$xtchoogst = 6;} if($land1->lsd > $land2->lsd && $land1->lsd > $land3->lsd && $land1->lsd > $land4->lsd && $land1->lsd > $land5->lsd && $land1->lsd > $land6->lsd){$lsdhoogst = 1;} if($land2->lsd > $land1->lsd && $land2->lsd > $land3->lsd && $land2->lsd > $land4->lsd && $land2->lsd > $land5->lsd && $land2->lsd > $land6->lsd){$lsdhoogst = 2;} if($land3->lsd > $land1->lsd && $land3->lsd > $land2->lsd && $land3->lsd > $land4->lsd && $land3->lsd > $land5->lsd && $land3->lsd > $land6->lsd){$lsdhoogst = 3;} if($land4->lsd > $land1->lsd && $land4->lsd > $land2->lsd && $land4->lsd > $land3->lsd && $land4->lsd > $land5->lsd && $land4->lsd > $land6->lsd){$lsdhoogst = 4;} if($land5->lsd > $land1->lsd && $land5->lsd > $land2->lsd && $land5->lsd > $land3->lsd && $land5->lsd > $land4->lsd && $land5->lsd > $land6->lsd){$lsdhoogst = 5;} if($land6->lsd > $land1->lsd && $land6->lsd > $land2->lsd && $land6->lsd > $land3->lsd && $land6->lsd > $land4->lsd && $land6->lsd > $land5->lsd){$lsdhoogst = 6;} if($land1->speed > $land2->speed && $land1->speed > $land3->speed && $land1->speed > $land4->speed && $land1->speed > $land5->speed && $land1->speed > $land6->speed){$speedhoogst = 1;} if($land2->speed > $land1->speed && $land2->speed > $land3->speed && $land2->speed > $land4->speed && $land2->speed > $land5->speed && $land2->speed > $land6->speed){$speedhoogst = 2;} if($land3->speed > $land1->speed && $land3->speed > $land2->speed && $land3->speed > $land4->speed && $land3->speed > $land5->speed && $land3->speed > $land6->speed){$speedhoogst = 3;} if($land4->speed > $land1->speed && $land4->speed > $land2->speed && $land4->speed > $land3->speed && $land4->speed > $land5->speed && $land4->speed > $land6->speed){$speedhoogst = 4;} if($land5->speed > $land1->speed && $land5->speed > $land2->speed && $land5->speed > $land3->speed && $land5->speed > $land4->speed && $land5->speed > $land6->speed){$speedhoogst = 5;} if($land6->speed > $land1->speed && $land6->speed > $land2->speed && $land6->speed > $land3->speed && $land6->speed > $land4->speed && $land6->speed > $land5->speed){$speedhoogst = 6;} $wiet1 = number_format($land1->nederwiet, 0,'.','.'); $paddo1 = number_format($land1->paddo, 0,'.','.'); $xtc1 = number_format($land1->xtc, 0,'.','.'); $lsd1 = number_format($land1->lsd, 0,'.','.'); $speed1 = number_format($land1->speed, 0,'.','.'); $opium1 = number_format($land1->opium, 0,'.','.'); $wiet2 = number_format($land2->nederwiet, 0,'.','.'); $paddo2 = number_format($land2->paddo, 0,'.','.'); $xtc2 = number_format($land2->xtc, 0,'.','.'); $lsd2 = number_format($land2->lsd, 0,'.','.'); $speed2 = number_format($land2->speed, 0,'.','.'); $opium2 = number_format($land2->opium, 0,'.','.'); $wiet3 = number_format($land3->nederwiet, 0,'.','.'); $paddo3 = number_format($land3->paddo, 0,'.','.'); $xtc3 = number_format($land3->xtc, 0,'.','.'); $lsd3 = number_format($land3->lsd, 0,'.','.'); $speed3 = number_format($land3->speed, 0,'.','.'); $opium3 = number_format($land3->opium, 0,'.','.'); $wiet4 = number_format($land4->nederwiet, 0,'.','.'); $paddo4 = number_format($land4->paddo, 0,'.','.'); $xtc4 = number_format($land4->xtc, 0,'.','.'); $lsd4 = number_format($land4->lsd, 0,'.','.'); $speed4 = number_format($land4->speed, 0,'.','.'); $opium4 = number_format($land4->opium, 0,'.','.'); $wiet5 = number_format($land5->nederwiet, 0,'.','.'); $paddo5 = number_format($land5->paddo, 0,'.','.'); $xtc5 = number_format($land5->xtc, 0,'.','.'); $lsd5 = number_format($land5->lsd, 0,'.','.'); $speed5 = number_format($land5->speed, 0,'.','.'); $opium5 = number_format($land5->opium, 0,'.','.'); $wiet6 = number_format($land6->nederwiet, 0,'.','.'); $paddo6 = number_format($land6->paddo, 0,'.','.'); $xtc6 = number_format($land6->xtc, 0,'.','.'); $lsd6 = number_format($land6->lsd, 0,'.','.'); $speed6 = number_format($land6->speed, 0,'.','.'); $opium6 = number_format($land6->opium, 0,'.','.'); ?> Hieronder vind je een overzicht van de drugskoersen. De prijs per zakje zal in elke stad anders zijn.<br>De groene arcering geeft aan waar de drug het duurst verkocht kan worden.<br>De bruine arcering geeft aan in welke stad je nu zit. <br /><br /> <table width="97%" cellspacing="2" cellpadding="2" class="mod_list"> <tr> <td> </td> <td><b>Stad</b></td> <td> </td><td>nederwiet</td><td>paddo</td><td>xtc</td><td>lsd</td><td>speed</td><td>opium</td></tr><tr> <td align="center" <?if($data->city == 1){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/world.gif"></td> <td <?if($data->city == 1){?>style="background:#c8bfa3"<?}?>>Turijn</td> <td align="center" <?if($data->city == 1){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/money.gif"></td><td <?if($wiethoogst == 1){?>style="background:#c9dfcc"<?}else if($data->city == 1){?>style="background:#c8bfa3"<?}?>> € <?echo$wiet1;?>,- </td><td <?if($paddohoogst == 1){?>style="background:#c9dfcc"<?}else if($data->city == 1){?>style="background:#c8bfa3"<?}?>> € <?echo$paddo1;?>,- </td><td <?if($xtchoogst == 1){?>style="background:#c9dfcc"<?}else if($data->city == 1){?>style="background:#c8bfa3"<?}?>> € <?echo$xtc1;?>,- </td><td <?if($lsdhoogst == 1){?>style="background:#c9dfcc"<?}else if($data->city == 1){?>style="background:#c8bfa3"<?}?>> € <?echo$lsd1;?>,- </td><td <?if($speedhoogst == 1){?>style="background:#c9dfcc"<?}else if($data->city == 1){?>style="background:#c8bfa3"<?}?>> € <?echo$speed1;?>,- </td><td <?if($opiumhoogst == 1){?>style="background:#c9dfcc"<?}else if($data->city == 1){?>style="background:#c8bfa3"<?}?>> € <?echo$opium1;?>,- </td></tr><tr> <td align="center" <?if($data->city == 2){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/world.gif"></td> <td <?if($data->city == 2){?>style="background:#c8bfa3"<?}?>>Palermo</td> <td align="center" <?if($data->city == 2){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/money.gif"></td><td <?if($wiethoogst == 2){?>style="background:#c9dfcc"<?}else if($data->city == 2){?>style="background:#c8bfa3"<?}?>> € <?echo$wiet2;?>,- </td><td <?if($paddohoogst == 2){?>style="background:#c9dfcc"<?}else if($data->city == 2){?>style="background:#c8bfa3"<?}?>> € <?echo$paddo2;?>,- </td><td <?if($xtchoogst == 2){?>style="background:#c9dfcc"<?}else if($data->city == 2){?>style="background:#c8bfa3"<?}?>> € <?echo$xtc2;?>,- </td><td <?if($lsdhoogst == 2){?>style="background:#c9dfcc"<?}else if($data->city == 2){?>style="background:#c8bfa3"<?}?>> € <?echo$lsd2;?>,- </td><td <?if($speedhoogst == 2){?>style="background:#c9dfcc"<?}else if($data->city == 2){?>style="background:#c8bfa3"<?}?>> € <?echo$speed2;?>,- </td><td <?if($opiumhoogst == 2){?>style="background:#c9dfcc"<?}else if($data->city == 2){?>style="background:#c8bfa3"<?}?>> € <?echo$opium2;?>,- </td></tr><tr> <td align="center" <?if($data->city == 3){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/world.gif"></td> <td <?if($data->city == 3){?>style="background:#c8bfa3"<?}?>>Milaan</td> <td align="center" <?if($data->city == 3){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/money.gif"></td><td <?if($wiethoogst == 3){?>style="background:#c9dfcc"<?}else if($data->city == 3){?>style="background:#c8bfa3"<?}?>> € <?echo$wiet3;?>,- </td><td <?if($paddohoogst == 3){?>style="background:#c9dfcc"<?}else if($data->city == 3){?>style="background:#c8bfa3"<?}?>> € <?echo$paddo3;?>,- </td><td <?if($xtchoogst == 3){?>style="background:#c9dfcc"<?}else if($data->city == 3){?>style="background:#c8bfa3"<?}?>> € <?echo$xtc3;?>,- </td><td <?if($lsdhoogst == 3){?>style="background:#c9dfcc"<?}else if($data->city == 3){?>style="background:#c8bfa3"<?}?>> € <?echo$lsd3;?>,- </td><td <?if($speedhoogst == 3){?>style="background:#c9dfcc"<?}else if($data->city == 3){?>style="background:#c8bfa3"<?}?>> € <?echo$speed3;?>,- </td><td <?if($opiumhoogst == 3){?>style="background:#c9dfcc"<?}else if($data->city == 3){?>style="background:#c8bfa3"<?}?>> € <?echo$opium3;?>,- </td></tr><tr> <td align="center" <?if($data->city == 4){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/world.gif"></td> <td <?if($data->city == 4){?>style="background:#c8bfa3"<?}?>>Rome</td> <td align="center" <?if($data->city == 4){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/money.gif"></td><td <?if($wiethoogst == 4){?>style="background:#c9dfcc"<?}else if($data->city == 4){?>style="background:#c8bfa3"<?}?>> € <?echo$wiet4;?>,- </td><td <?if($paddohoogst == 4){?>style="background:#c9dfcc"<?}else if($data->city == 4){?>style="background:#c8bfa3"<?}?>> € <?echo$paddo4;?>,- </td><td <?if($xtchoogst == 4){?>style="background:#c9dfcc"<?}else if($data->city == 4){?>style="background:#c8bfa3"<?}?>> € <?echo$xtc4?>,- </td><td <?if($lsdhoogst == 4){?>style="background:#c9dfcc"<?}else if($data->city == 4){?>style="background:#c8bfa3"<?}?>> € <?echo$lsd4;?>,- </td><td <?if($speedhoogst == 4){?>style="background:#c9dfcc"<?}else if($data->city == 4){?>style="background:#c8bfa3"<?}?>> € <?echo$speed4;?>,- </td><td <?if($opiumhoogst == 4){?>style="background:#c9dfcc"<?}else if($data->city == 4){?>style="background:#c8bfa3"<?}?>> € <?echo$opium4;?>,- </td></tr><tr> <td align="center" <?if($data->city == 5){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/world.gif"></td> <td <?if($data->city == 5){?>style="background:#c8bfa3"<?}?>>Catania</td> <td align="center" <?if($data->city == 5){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/money.gif"></td><td <?if($wiethoogst == 5){?>style="background:#c9dfcc"<?}else if($data->city == 5){?>style="background:#c8bfa3"<?}?>> € <?echo$wiet5;?>,- </td><td <?if($paddohoogst == 5){?>style="background:#c9dfcc"<?}else if($data->city == 5){?>style="background:#c8bfa3"<?}?>> € <?echo$paddo5;?>,- </td><td <?if($xtchoogst == 5){?>style="background:#c9dfcc"<?}else if($data->city == 5){?>style="background:#c8bfa3"<?}?>> € <?echo$xtc5?>,- </td><td <?if($lsdhoogst == 5){?>style="background:#c9dfcc"<?}else if($data->city == 5){?>style="background:#c8bfa3"<?}?>> € <?echo$lsd5;?>,- </td><td <?if($speedhoogst == 5){?>style="background:#c9dfcc"<?}else if($data->city == 5){?>style="background:#c8bfa3"<?}?>> € <?echo$speed5;?>,- </td><td <?if($opiumhoogst == 5){?>style="background:#c9dfcc"<?}else if($data->city == 5){?>style="background:#c8bfa3"<?}?>> € <?echo$opium5;?>,- </td></tr><tr> <td align="center" <?if($data->city == 6){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/world.gif"></td> <td <?if($data->city == 6){?>style="background:#c8bfa3"<?}?>>Corleone</td> <td align="center" <?if($data->city == 6){?>style="background:#c8bfa3"<?}?>><img src="images/icons_gif/money.gif"></td><td <?if($wiethoogst == 6){?>style="background:#c9dfcc"<?}else if($data->city == 6){?>style="background:#c8bfa3"<?}?>> € <?echo$wiet6;?>,- </td><td <?if($paddohoogst == 6){?>style="background:#c9dfcc"<?}else if($data->city == 6){?>style="background:#c8bfa3"<?}?>> € <?echo$paddo6;?>,- </td><td <?if($xtchoogst == 6){?>style="background:#c9dfcc"<?}else if($data->city == 6){?>style="background:#c8bfa3"<?}?>> € <?echo$xtc6?>,- </td><td <?if($lsdhoogst == 6){?>style="background:#c9dfcc"<?}else if($data->city == 6){?>style="background:#c8bfa3"<?}?>> € <?echo$lsd6;?>,- </td><td <?if($speedhoogst == 6){?>style="background:#c9dfcc"<?}else if($data->city == 6){?>style="background:#c8bfa3"<?}?>> € <?echo$speed6;?>,- </td><td <?if($opiumhoogst == 6){?>style="background:#c9dfcc"<?}else if($data->city == 6){?>style="background:#c8bfa3"<?}?>> € <?echo$opium6;?>,- </td></tr> </table> <br><br> </div> </td></tr></table> </div> <table width='100%' cellspacing='2' cellpadding='2'> <tr> <td class='content_bottom'></td> </tr> </table> </div> </td> </tr> </table> </td> <?}?>Alsjeblieft :cheer:
-
-
Hallo iedereen!
Vond dit topic ergens hier op het forum:
CitaatEr zitten nog een paar bugs in OSbanditi.
hier heb je bugfix voor selldrugs dat je niet bij opium +99999- kan doen.
Download : http://www.maffiastarz.nl/Downloads/selldrugs.rarDe download link doet het niet meer dus d8 probeer het zelf op te lossen (h)
In eerste instantie leek het te werken:
FOUT!
Je probeert drugs te verkopen die je helemaal niet hebt
Maar ondanks de melding krijg je toch je drugs+geld 8-)
Kan iemand me helpen (of weet iemand een andere downloadlink)?
-
offtopic: Wat is iedereen toch aardig voor elkaar 8-)