Advertisement
Guest User

Untitled

a guest
Mar 28th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.67 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <?php include('../api.php'); ?>
  5. <?php include('url.php'); ?>
  6. <meta charset="UTF-8">
  7. <link rel="stylesheet" href="css/style.css" type="text/css">
  8.  
  9. </head>
  10. <body>
  11.  
  12.  
  13. <div id="background">
  14. <div id="header">
  15. <div>
  16. <div>
  17.  
  18. <a href=<?php echo "?N=". urlencode($test) ."&S=". urlencode($test2) ."&L=".$test3."" ?> class="logo"><img src="images/logof.png" alt=""></a>
  19. <ul>
  20. <li>
  21. <a href="http://tndls.tk/index.php">home</a>
  22. </li>
  23. <li>
  24. <a href="http://tndls.tk/media.html" id="menu2">media</a>
  25. </li>
  26. <li>
  27. <a href="http://tndls.tk/events.php" id="menu3">events</a>
  28. </li>
  29. <li>
  30. <a href="http://tndls.tk/about.html" id="menu4">about</a>
  31. </li>
  32. <li class="selected">
  33. <a href="http://tndls.tk/forums.html" id="menu5">forums</a>
  34. </li>
  35. </ul>
  36. </div>
  37. </div>
  38. </div>
  39. <div id="body">
  40. <div>
  41. <div>
  42. <div class="blog">
  43. <div class="content">
  44. <ul>
  45. <li>
  46. <div class="header">
  47.  
  48. <?php
  49.  
  50.  
  51. // Connects to your Database
  52. mysql_connect("mysql.tndls.tk", "ravonus", "MyNewPW1!") or die(mysql_error());
  53.  
  54. // Initialize a LodestoneAPI Obkect
  55. $API = new LodestoneAPI();
  56. $Character = $API->get(array(
  57. "name" => "$test",
  58. "server" => "$test2"
  59. ));
  60.  
  61. //set all the gear from lodestone API
  62. $head = $Character->getSlot('head');
  63. $main = $Character->getSlot('main');
  64. $main2 = $Character->getSlot('main2');
  65. $shield = $Character->getSlot('shield');
  66. $body = $Character->getSlot('body');
  67. $waist = $Character->getSlot('waist');
  68. $legs = $Character->getSlot('legs');
  69. $feet = $Character->getSlot('feet');
  70. $necklace = $Character->getSlot('necklace');
  71. $hands = $Character->getSlot('hands');
  72. $earrings = $Character->getSlot('earrings');
  73. $bracelets = $Character->getSlot('bracelets');
  74. $ring = $Character->getSlot('ring');
  75. $ring2 = $Character->getSlot('ring2');
  76. $al = $Character->getActiveLevel();
  77. $SoulCrystal = $Character->getSlot('soul crystal');
  78. $gladiator = $Character->getClassJob(gladiator);
  79. $monster = $Character->getMinions();
  80.  
  81. //set var to display blank icons
  82.  
  83. $ring2v = $ring2['icon'];
  84. $ringv = $ring['icon'];
  85. $braceletsv = $bracelets['icon'];
  86. $earringsv = $earrings['icon'];
  87. $necklacev = $necklace['icon'];
  88. $handsv = $hands['icon'];
  89. $feetv = $feet['icon'];
  90. $legsv = $legs['icon'];
  91. $waistv = $waist['icon'];
  92. $bodyv = $body['icon'];
  93. $shieldv = $shield['icon'];
  94. $main2v = $main2['icon'];
  95. $mainv = $main['icon'];
  96. $headv = $head['icon'];
  97. $SoulCrystalv = $SoulCrystal['icon'];
  98.  
  99. if ($shieldv == true) {
  100. $second = $shieldv;
  101. }
  102. if ($main2v == true) {
  103. $second = $main2v;
  104. }
  105.  
  106. //set up - in names for database
  107. $mainname = str_replace(' ', '-', $main['name']);
  108. $main2name = str_replace(' ', '-', $main2['name']);
  109. $shieldname = str_replace(' ', '-', $shield['name']);
  110. $headname = str_replace(' ', '-', $head['name']);
  111. $bodyname = str_replace(' ', '-', $body['name']);
  112. $handsname = str_replace(' ', '-', $hands['name']);
  113. $legsname = str_replace(' ', '-', $legs['name']);
  114. $waistname = str_replace(' ', '-', $waist['name']);
  115. $SoulCrystalname = str_replace(' ', '-', $SoulCrystal['name']);
  116. $feetname = str_replace(' ', '-', $feet['name']);
  117. $ringname = str_replace(' ', '-', $ring['name']);
  118. $ring2name = str_replace(' ', '-', $ring2['name']);
  119. $braceletsname = str_replace(' ', '-', $bracelets['name']);
  120. $earringsname = str_replace(' ', '-', $earrings['name']);
  121. $necklacename = str_replace(' ', '-', $necklace['name']);
  122. //var_dump ($Character);
  123. ?>
  124. <div id="geart">
  125.  
  126. <?php
  127. //Mysql query to load main
  128. if ($mainv === NULL) {
  129. $mainv = "http://tndls.tk/character/images/Gear-Ring2.png";
  130. echo '<a href="#" id="test"><img src="'. $mainv .'"style="border:1px solid #000000"></a><br />';
  131. }
  132.  
  133. mysql_select_db("ff14") or die(mysql_error());
  134. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($mainname)."')")
  135. or die(mysql_error());
  136. while($info = mysql_fetch_array( $data ))
  137. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $mainv .'"style="border:1px solid #000000"></a><br />';}
  138. ?>
  139. </div>
  140.  
  141.  
  142. <div id="geart">
  143.  
  144. <?php
  145. //Mysql query to load head
  146. if ($headv === NULL) {
  147. $headv = "http://tndls.tk/character/images/Gear-Ring2.png";
  148. echo '<a href="#" id="test"><img src="'. $headv .'"style="border:1px solid #000000"></a><br />';
  149. }
  150.  
  151. mysql_select_db("ff14") or die(mysql_error());
  152. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($headname)."')")
  153. or die(mysql_error());
  154. while($info = mysql_fetch_array( $data ))
  155. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $headv .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  156.  
  157. ?>
  158. </div>
  159.  
  160. <div id="geart">
  161.  
  162. <?php
  163. //Mysql query to load body
  164. if ($bodyv === NULL) {
  165. $bodyv = "http://tndls.tk/character/images/Gear-Ring2.png";
  166. echo '<a href="#" id="test"><img src="'. $bodyv .'"style="border:1px solid #000000"></a><br />';
  167. }
  168.  
  169. mysql_select_db("ff14") or die(mysql_error());
  170. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($bodyname)."')")
  171. or die(mysql_error());
  172. while($info = mysql_fetch_array( $data ))
  173. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $bodyv .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  174.  
  175. ?>
  176. </div>
  177.  
  178. <div id="geart">
  179.  
  180. <?php
  181. //Mysql query to load hands
  182. if ($handsv === NULL) {
  183. $handsv = "http://tndls.tk/character/images/Gear-Ring2.png";
  184. echo '<a href="#" id="test"><img src="'. $handsv .'"style="border:1px solid #000000"></a><br />';
  185. }
  186.  
  187. mysql_select_db("ff14") or die(mysql_error());
  188. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($handsname)."')")
  189. or die(mysql_error());
  190. while($info = mysql_fetch_array( $data ))
  191. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $handsv .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  192.  
  193. ?>
  194. </div>
  195.  
  196. <div id="geart">
  197.  
  198. <?php
  199. //Mysql query to load belt
  200. if ($waistv === NULL) {
  201. $waistv = "http://tndls.tk/character/images/Gear-Ring2.png";
  202. echo '<a href="#" id="test"><img src="'. $waistv .'"style="border:1px solid #000000"></a><br />';
  203. }
  204.  
  205. mysql_select_db("ff14") or die(mysql_error());
  206. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($waistname)."')")
  207. or die(mysql_error());
  208. while($info = mysql_fetch_array( $data ))
  209. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $waistv .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  210.  
  211. ?>
  212. </div>
  213.  
  214.  
  215. <div id="geart">
  216.  
  217. <?php
  218. //Mysql query to load legs
  219. if ($legsv === NULL) {
  220. $legsv = "http://tndls.tk/character/images/Gear-Ring2.png";
  221. echo '<a href="#" id="test"><img src="'. $legsv .'"style="border:1px solid #000000"></a><br />';
  222. }
  223.  
  224. mysql_select_db("ff14") or die(mysql_error());
  225. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($legsname)."')")
  226. or die(mysql_error());
  227. while($info = mysql_fetch_array( $data ))
  228. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $legsv .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  229.  
  230. ?>
  231. </div>
  232.  
  233.  
  234. <div id="geart">
  235.  
  236. <?php
  237. //Mysql query to load feet
  238. if ($feetv === NULL) {
  239. $feetv = "http://tndls.tk/character/images/Gear-Ring2.png";
  240. echo '<a href="#" id="test"><img src="'. $feetv .'"style="border:1px solid #000000"></a><br />';
  241. }
  242.  
  243. mysql_select_db("ff14") or die(mysql_error());
  244. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($feetname)."')")
  245. or die(mysql_error());
  246. while($info = mysql_fetch_array( $data ))
  247. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $feetv .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  248.  
  249. ?>
  250. </div>
  251. <?php
  252.  
  253.  
  254. echo '</a><br />';
  255. echo '</a><br />';
  256. echo '</a><br />';
  257. echo '</a><br />';
  258. echo '</a><br />';
  259. echo '</a><br />';
  260. echo '</a><br />';
  261. echo '</a><br />';
  262. echo '</a><br />';
  263. echo '</a><br />';
  264. echo '</a><br />';
  265. echo '</a><br />';
  266. echo '</a><br />';
  267. echo '</a><br />';
  268. echo '</a><br />';
  269. echo '</a><br />';
  270. echo '</a><br />';
  271.  
  272. ?>
  273.  
  274. <div class="bcontainer">
  275. <div class="port">
  276. <?php
  277. echo '<a href="#" id="port"><img src="'. $Character->getPortrait() .'"style="border:1px solid #000000"></a>';
  278. ?>
  279.  
  280. </div>
  281.  
  282. <div class="firstbtn">
  283.  
  284. <?php
  285. //Mysql query to load ring2
  286. if ($ring2v === NULL) {
  287. $ring2v = "http://tndls.tk/character/images/Gear-Ring2.png";
  288. echo '<a href="#" id="test"><img src="'. $ring2v .'"style="border:1px solid #000000"></a><br />';
  289. }
  290.  
  291. mysql_select_db("ff14") or die(mysql_error());
  292. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($ring2name)."')")
  293. or die(mysql_error());
  294. while($info = mysql_fetch_array( $data ))
  295. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $ring2v .'" width="38" height="38"style="border:1px solid #000000"></a><br />';}
  296. ?>
  297. </div>
  298.  
  299.  
  300. <div class="secondbtn">
  301. <?php
  302. //Mysql query to load ring1
  303. if ($ringv === NULL) {
  304. $ringv = "http://tndls.tk/character/images/Gear-Ring2.png";
  305. echo '<a href="#" id="test"><img src="'. $ringv .'"style="border:1px solid #000000"></a><br />';
  306. }
  307.  
  308. mysql_select_db("ff14") or die(mysql_error());
  309. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($ringname)."')")
  310. or die(mysql_error());
  311. while($info = mysql_fetch_array( $data ))
  312. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $ringv .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  313. ?>
  314. </div>
  315. <div class="thirdbtn">
  316. <?php
  317. //Mysql query to load bracelets
  318. if ($braceletsv === NULL) {
  319. $braceletsv = "http://tndls.tk/character/images/Gear-Ring2.png";
  320. echo '<a href="#" id="test"><img src="'. $braceletsv .'""style="border:1px solid #000000"></a><br />';
  321. }
  322.  
  323. mysql_select_db("ff14") or die(mysql_error());
  324. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($braceletsname)."')")
  325. or die(mysql_error());
  326. while($info = mysql_fetch_array( $data ))
  327. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $braceletsv .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  328. ?>
  329. </div>
  330.  
  331. <div class="fourthbtn">
  332.  
  333. <?php
  334. //Mysql query to load earrings
  335. if ($earringsv === NULL) {
  336. $earringsv = "http://tndls.tk/character/images/Gear-Ring2.png";
  337. echo '<a href="#" id="test"><img src="'. $earringsv .'"style="border:1px solid #000000"></a><br />';
  338. }
  339.  
  340. mysql_select_db("ff14") or die(mysql_error());
  341. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($earringsname)."')")
  342. or die(mysql_error());
  343. while($info = mysql_fetch_array( $data ))
  344. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $earringsv .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  345. ?>
  346. </div>
  347.  
  348. <div class="fithbtn">
  349.  
  350. <?php
  351. //Mysql query to load necklace
  352. if ($necklacev === NULL) {
  353. $necklacev = "http://tndls.tk/character/images/Gear-Ring2.png";
  354. echo '<a href="#" id="test"><img src="'. $necklacev .'"style="border:1px solid #000000"></a><br />';
  355. }
  356.  
  357. mysql_select_db("ff14") or die(mysql_error());
  358. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($necklacename)."')")
  359. or die(mysql_error());
  360. while($info = mysql_fetch_array( $data ))
  361. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $necklacev .'" " width="38" height="38"style="border:1px solid #000000"></a><br />';}
  362. ?>
  363. </div>
  364.  
  365. <div class="sixthbtn">
  366.  
  367. <?php
  368. //Mysql query to load main2
  369. if ($second === NULL) {
  370. $second = "http://tndls.tk/character/images/Gear-Ring2.png";
  371. echo '<a href="#" id="test"><img src="'. $second .'"style="border:1px solid #000000"></a><br />';
  372. }
  373.  
  374. mysql_select_db("ff14") or die(mysql_error());
  375. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($main2name)."')")
  376. or die(mysql_error());
  377. while($info = mysql_fetch_array( $data ))
  378. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $second .'" " width="38" height=38"style="border:1px solid #000000"></a><br />';}
  379. ?>
  380. </div>
  381.  
  382. <div class="sixthbtn">
  383.  
  384. <?php
  385. //Mysql query to load shield
  386. if ($second === NULL) {
  387. $second = "http://tndls.tk/character/images/Gear-Ring2.png";
  388. echo '<a href="#" id="test"><img src="'. $second .'"style="border:1px solid #000000"></a><br />';
  389. }
  390.  
  391. mysql_select_db("ff14") or die(mysql_error());
  392. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($shieldname)."')")
  393. or die(mysql_error());
  394. while($info = mysql_fetch_array( $data ))
  395. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $second .'" " width="38" height=38"style="border:1px solid #000000"></a><br />';}
  396.  
  397. ?>
  398. </div>
  399. <div class="seventhbtn">
  400. <?php
  401.  
  402.  
  403. //Mysql query to load SoulCrystal
  404. if ($SoulCrystalv === NULL) {
  405. $SoulCrystalv = "http://tndls.tk/character/images/Gear-Ring2.png";
  406. echo '<a href="#" id="test"><img src="'. $SoulCrystalv .'"style="border:1px solid #000000"></a><br />';
  407. }
  408.  
  409. mysql_select_db("ff14") or die(mysql_error());
  410. $data = mysql_query("SELECT * FROM tooltips WHERE (name='".mysql_real_escape_string($SoulCrystalname)."')")
  411. or die(mysql_error());
  412. while($info = mysql_fetch_array( $data ))
  413. {echo '<a href="http://xivdb.com/?item/'. $info['ID'] .'" id="test"><img src="'. $SoulCrystalv .'"style="border:1px solid #000000"></a><br />';}
  414. ?>
  415.  
  416. </div>
  417.  
  418.  
  419.  
  420. <div class="hp">
  421. <img src="images/hp.png" alt="some_text">
  422.  
  423. </div>
  424.  
  425. <div class="mp">
  426. <img src="images/mp.png" alt="some_text">
  427.  
  428. </div>
  429. <div class="hpt">
  430. <?php echo $Character->getStat('core', 'hp' ); ?>
  431. </div>
  432.  
  433. <div class="mpt">
  434. <?php echo $Character->getStat('core', 'mp' ); ?>
  435. </div>
  436.  
  437. <div class="slogo">
  438. <img src="images/stlogo.png" alt="str">
  439. </div>
  440.  
  441. <div class="stext">
  442. <?php echo $Character->getStat('attributes', 'strength' ); ?>
  443. </div>
  444.  
  445. <div class="dlogo">
  446. <img src="images/dlogo.png" alt="dex">
  447. </div>
  448.  
  449. <div class="dtext">
  450. <?php echo $Character->getStat('attributes', 'dexterity' ); ?>
  451. </div>
  452.  
  453. <div class="vlogo">
  454. <img src="images/vlogo.png" alt="dex">
  455. </div>
  456.  
  457. <div class="vtext">
  458. <?php echo $Character->getStat('attributes', 'vitality' ); ?>
  459. </div>
  460.  
  461. <div class="lvl">
  462. <?php echo $al; ?>
  463. </div>
  464.  
  465. <div class="mclass">
  466. <?php
  467. $mclass = $Character->getActiveJob();
  468. if ($mclass['name'] == true) {
  469. $mclass2 = $mclass['name'];
  470. $str = strtoupper($mclass2);
  471. echo $str;
  472.  
  473. }
  474. else {
  475. $mclassc = $Character->getActiveClass();
  476. $str = strtoupper($mclassc);
  477. echo $str;
  478. }
  479. d
  480. ?>
  481.  
  482. </div>
  483.  
  484.  
  485.  
  486.  
  487. <?php
  488. $glexp = $Character->getClassJob('gladiator');
  489. $maexp = $Character->getClassJob('marauder');
  490. $arexp = $Character->getClassJob('archer');
  491. $laexp = $Character->getClassJob('lancer');
  492. $puexp = $Character->getClassJob('pugilist');
  493. $thexp = $Character->getClassJob('thaumaturge');
  494. $arcexp = $Character->getClassJob('arcanist');
  495. $coexp = $Character->getClassJob('conjurer');
  496. $caexp = $Character->getClassJob('carpenter');
  497. $blexp = $Character->getClassJob('blacksmith');
  498. $leexp = $Character->getClassJob('leatherworker');
  499. $weexp = $Character->getClassJob('weaver');
  500. $alexp = $Character->getClassJob('alchemist');
  501. $cuexp = $Character->getClassJob('culinarian');
  502. $armexp = $Character->getClassJob('armorer');
  503. $goexp = $Character->getClassJob('goldsmith');
  504. $boexp = $Character->getClassJob('botanist');
  505. $fiexp = $Character->getClassJob('fisher');
  506. $miexp = $Character->getClassJob('miner');
  507. $n = 0;
  508. //var_dump ($Character);
  509. $lvlarray = array(
  510. array($maexp['level'],$maexp['icon'],$maexp['exp']['current'],$maexp['exp']['max'],"marauder","dow","#99cc99"),
  511. array($glexp['level'],$glexp['icon'],$glexp['exp']['current'],$glexp['exp']['max'],"gladiator","dow","#99cc99"),
  512. array($arexp['level'],$arexp['icon'],$arexp['exp']['current'],$arexp['exp']['max'],"archer","dow","#99cc99"),
  513. array($laexp['level'],$laexp['icon'],$laexp['exp']['current'],$laexp['exp']['max'],"lancer","dow","#99cc99"),
  514. array($puexp['level'],$puexp['icon'],$puexp['exp']['current'],$puexp['exp']['max'],"pugilist","dow","#99cc99"),
  515. array($arcexp['level'],$arcexp['icon'],$arcexp['exp']['current'],$arcexp['exp']['max'],"arcanist","dom","#996699"),
  516. array($coexp['level'],$coexp['icon'],$coexp['exp']['current'],$coexp['exp']['max'],"conjurer","dom","#996699"),
  517. array($cuexp['level'],$cuexp['icon'],$cuexp['exp']['current'],$cuexp['exp']['max'],"culinarian","doh","#ff6666"),
  518. array($blexp['level'],$blexp['icon'],$blexp['exp']['current'],$blexp['exp']['max'],"blacksmith","doh","#ff6666"),
  519. array($leexp['level'],$leexp['icon'],$leexp['exp']['current'],$leexp['exp']['max'],"leatherworker","doh","#ff6666"),
  520. array($caexp['level'],$caexp['icon'],$caexp['exp']['current'],$caexp['exp']['max'],"carpenter","doh","#ff6666"),
  521. array($weexp['level'],$weexp['icon'],$weexp['exp']['current'],$weexp['exp']['max'],"weaver","doh","#ff6666"),
  522. array($alexp['level'],$alexp['icon'],$alexp['exp']['current'],$alexp['exp']['max'],"alchemist","doh","#ff6666"),
  523. array($armexp['level'],$armexp['icon'],$armexp['exp']['current'],$armexp['exp']['max'],"armorer","doh","#ff6666"),
  524. array($goexp['level'],$goexp['icon'],$goexp['exp']['current'],$goexp['exp']['max'],"goldsmith","doh","#ff6666"),
  525. array($boexp['level'],$boexp['icon'],$boexp['exp']['current'],$boexp['exp']['max'],"botanist","dol","#3399ff"),
  526. array($fiexp['level'],$fiexp['icon'],$fiexp['exp']['current'],$fiexp['exp']['max'],"fisher","dol","#3399ff"),
  527. array($miexp['level'],$miexp['icon'],$miexp['exp']['current'],$miexp['exp']['max'],"miner","dol","#3399ff"),
  528. array($thexp['level'],$thexp['icon'],$thexp['exp']['current'],$thexp['exp']['max'],"thaumaturge","dom","#996699"),
  529. );
  530. rsort($lvlarray);
  531. foreach ($lvlarray as $key => $val) {
  532. // echo "$key = $val\n";
  533. }
  534. //var_dump ($lvlarray);
  535. //$n4 = 0;
  536. //while ($n4 <= 19):
  537. //if ($lvlarray[$n4]['5'] == "dow"){
  538. //array_push($lvlarray[$n4], "#99cc99");
  539. //}
  540. //else{
  541. //if ($lvlarray[$n4]['5'] == "dom"){
  542. //array_push($lvlarray[$n4], "#996699");
  543. //}
  544. //else{
  545. //if ($lvlarray[$n4]['5'] == "doh"){
  546. //array_push($lvlarray[$n4], "#ff6666");
  547. //}
  548. //else{
  549. //if ($lvlarray[$n4]['5'] == "dol"){
  550. //array_push($lvlarray[$n4], "#3399ff");
  551. //}
  552. //else{
  553. //}
  554. //}
  555. //}
  556. // }
  557.  
  558. //$n4++;
  559. //endwhile;
  560. //echo $lvlarray['1']['0']; [=class][0-6['lvl']['icon']['current']['max]['name']['class type']['exp color']
  561. //echo $lvlarray['2']['1'];
  562. //foreach ($lvlarray as $key => $val) {
  563. //$lvlarray1 = array(
  564. //$n++ => $key,$val,
  565. //);
  566. //var_dump ($lvlarray);
  567. //var_dump ($key);
  568.  
  569. //}
  570. //var_dump ($lvlarray);
  571. //var_dump ($lvlarray1);
  572.  
  573. $expclass = $Character->getActiveClass();
  574. //echo $expclass;
  575. $mexp= $Character->getClassJob($expclass);
  576. //var_dump ($glad['exp']);
  577. //$glad = $glad['exp'];
  578. //echo $mexp['exp']['current'];
  579. //echo $mexp['exp']['max'];
  580. $n2 = 0;
  581. error_reporting(0);
  582. while ($n2 <= 19):
  583. if ($lvlarray[$n2]['0'] == "-"){
  584. goto end;
  585. }
  586. else{
  587. $cl1perw = "#cl1bar";
  588. $c1logo = $lvlarray[$n2]['1'];
  589. $cl1per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  590. }
  591.  
  592. if (empty($lvlarray[$n2]['3'])) {
  593. $cl1per = 100;
  594. }
  595. else{
  596. $cl1per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  597. }
  598. end:
  599. $n2++;
  600. $n3 = $n2;
  601. $n2 = 20;
  602. endwhile;
  603. $n2 = $n3;
  604.  
  605. while ($n2 <= 19):
  606. if ($lvlarray[$n2]['0'] == "-"){
  607. goto end1;
  608. }
  609. else{
  610. $cl2perw = "#cl2bar";
  611. $c2logo = $lvlarray[$n2]['1'];
  612. $cl2per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  613. }
  614.  
  615. if (empty($lvlarray[$n2]['3'])) {
  616. $cl2per = 100;
  617. }
  618. else{
  619. $cl2per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  620. }
  621. end1:
  622. $n2++;
  623. $n3 = $n2;
  624. $n2 = 20;
  625. endwhile;
  626. $n2 = $n3;
  627.  
  628. while ($n2 <= 19):
  629. if ($lvlarray[$n2]['0'] == "-"){
  630. goto end2;
  631. }
  632. else{
  633. $cl3perw = "#cl3bar";
  634. $c3logo = $lvlarray[$n2]['1'];
  635. $cl3per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  636. }
  637.  
  638. if (empty($lvlarray[$n2]['3'])) {
  639. $cl3per = 100;
  640. }
  641. else{
  642. $cl3per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  643. }
  644. end2:
  645. $n2++;
  646. $n3 = $n2;
  647. $n2 = 20;
  648. endwhile;
  649. $n2 = $n3;
  650. while ($n2 <= 19):
  651. if ($lvlarray[$n2]['0'] == "-"){
  652. goto end3;
  653. }
  654. else{
  655. $cl4perw = "#cl4bar";
  656. $c4logo = $lvlarray[$n2]['1'];
  657. $cl4per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  658. }
  659.  
  660. if (empty($lvlarray[$n2]['3'])) {
  661. $cl4per = 100;
  662. }
  663. else{
  664. $cl4per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  665. }
  666. end3:
  667. $n2++;
  668. $n3 = $n2;
  669. $n2 = 20;
  670. endwhile;
  671. $n2 = $n3;
  672.  
  673. while ($n2 <= 19):
  674. if ($lvlarray[$n2]['0'] == "-"){
  675. goto end4;
  676. }
  677. else{
  678. $cl5perw = "#cl5bar";
  679. $c5logo = $lvlarray[$n2]['1'];
  680. $cl5per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  681. }
  682.  
  683. if (empty($lvlarray[$n2]['3'])) {
  684. $cl5per = 100;
  685. }
  686. else{
  687. $cl5per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  688. }
  689. end4:
  690. $n2++;
  691. $n3 = $n2;
  692. $n2 = 20;
  693. endwhile;
  694. $n2 = $n3;
  695.  
  696. while ($n2 <= 19):
  697. if ($lvlarray[$n2]['0'] == "-"){
  698. goto end5;
  699. }
  700. else{
  701. $cl6perw = "#cl6bar";
  702. $c6logo = $lvlarray[$n2]['1'];
  703. $cl6per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  704. }
  705.  
  706. if (empty($lvlarray[$n2]['3'])) {
  707. $cl6per = 100;
  708. }
  709. else{
  710. $cl6per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  711. }
  712. end5:
  713. $n2++;
  714. $n3 = $n2;
  715. $n2 = 20;
  716. endwhile;
  717. $n2 = $n3;
  718.  
  719. while ($n2 <= 19):
  720. if ($lvlarray[$n2]['0'] == "-"){
  721. goto end6;
  722. }
  723. else{
  724. $cl7perw = "#cl7bar";
  725. $c7logo = $lvlarray[$n2]['1'];
  726. $cl7per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  727. }
  728.  
  729. if (empty($lvlarray[$n2]['3'])) {
  730. $cl7per = 100;
  731. }
  732. else{
  733. $cl7per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  734. }
  735. end6:
  736. $n2++;
  737. $n3 = $n2;
  738. $n2 = 20;
  739. endwhile;
  740. $n2 = $n3;
  741.  
  742. while ($n2 <= 19):
  743. if ($lvlarray[$n2]['0'] == "-"){
  744. goto end7;
  745. }
  746. else{
  747. $cl8perw = "#cl8bar";
  748. $c8logo = $lvlarray[$n2]['1'];
  749. $cl8per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  750. }
  751.  
  752. if (empty($lvlarray[$n2]['3'])) {
  753. $cl8per = 100;
  754. }
  755. else{
  756. $cl8per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  757. }
  758. end7:
  759. $n2++;
  760. $n3 = $n2;
  761. $n2 = 20;
  762. endwhile;
  763. $n2 = $n3;
  764.  
  765. while ($n2 <= 19):
  766. if ($lvlarray[$n2]['0'] == "-"){
  767. goto end8;
  768. }
  769. else{
  770. $cl9perw = "#cl9bar";
  771. $c9logo = $lvlarray[$n2]['1'];
  772. $cl9per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  773. }
  774.  
  775. if (empty($lvlarray[$n2]['3'])) {
  776. $cl9per = 100;
  777. }
  778. else{
  779. $cl9per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  780. }
  781. end8:
  782. $n2++;
  783. $n3 = $n2;
  784. $n2 = 20;
  785. endwhile;
  786. $n2 = $n3;
  787.  
  788. while ($n2 <= 19):
  789. if ($lvlarray[$n2]['0'] == "-"){
  790. goto end9;
  791. }
  792. else{
  793. $cl10perw = "#cl10bar";
  794. $c10logo = $lvlarray[$n2]['1'];
  795. $cl10per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  796. }
  797.  
  798. if (empty($lvlarray[$n2]['3'])) {
  799. $cl10per = 100;
  800. }
  801. else{
  802. $cl10per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  803. }
  804. end9:
  805. $n2++;
  806. $n3 = $n2;
  807. $n2 = 20;
  808. endwhile;
  809. $n2 = $n3;
  810.  
  811. while ($n2 <= 19):
  812. if ($lvlarray[$n2]['0'] == "-"){
  813. goto end10;
  814. }
  815. else{
  816. $cl11perw = "#cl11bar";
  817. $c11logo = $lvlarray[$n2]['1'];
  818. $cl11per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  819. }
  820.  
  821. if (empty($lvlarray[$n2]['3'])) {
  822. $cl11per = 100;
  823. }
  824. else{
  825. $cl11per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  826. }
  827. end10:
  828. $n2++;
  829. $n3 = $n2;
  830. $n2 = 20;
  831. endwhile;
  832. $n2 = $n3;
  833.  
  834. while ($n2 <= 19):
  835. if ($lvlarray[$n2]['0'] == "-"){
  836. goto end11;
  837. }
  838. else{
  839. $cl12perw = "#cl12bar";
  840. $c12logo = $lvlarray[$n2]['1'];
  841. $cl12per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  842. }
  843.  
  844. if (empty($lvlarray[$n2]['3'])) {
  845. $cl12per = 100;
  846. }
  847. else{
  848. $cl12per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  849. }
  850. end11:
  851. $n2++;
  852. $n3 = $n2;
  853. $n2 = 20;
  854. endwhile;
  855. $n2 = $n3;
  856.  
  857. while ($n2 <= 19):
  858. if ($lvlarray[$n2]['0'] == "-"){
  859. goto end12;
  860. }
  861. else{
  862. $cl13perw = "#cl13bar";
  863. $c13logo = $lvlarray[$n2]['1'];
  864. $cl13per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  865. }
  866.  
  867. if (empty($lvlarray[$n2]['3'])) {
  868. $cl13per = 100;
  869. }
  870. else{
  871. $cl13per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  872. }
  873. end12:
  874. $n2++;
  875. $n3 = $n2;
  876. $n2 = 20;
  877. endwhile;
  878. $n2 = $n3;
  879.  
  880. while ($n2 <= 19):
  881. if ($lvlarray[$n2]['0'] == "-"){
  882. goto end13;
  883. }
  884. else{
  885. $cl14perw = "#cl14bar";
  886. $c14logo = $lvlarray[$n2]['1'];
  887. $cl14per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  888. }
  889.  
  890. if (empty($lvlarray[$n2]['3'])) {
  891. $cl14per = 100;
  892. }
  893. else{
  894. $cl14per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  895. }
  896. end13:
  897. $n2++;
  898. $n3 = $n2;
  899. $n2 = 20;
  900. endwhile;
  901. $n2 = $n3;
  902.  
  903.  
  904. while ($n2 <= 19):
  905. if ($lvlarray[$n2]['0'] == "-"){
  906. goto end14;
  907. }
  908. else{
  909. $cl15perw = "#cl15bar";
  910. $c15logo = $lvlarray[$n2]['1'];
  911. $cl15per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  912. }
  913.  
  914. if (empty($lvlarray[$n2]['3'])) {
  915. $cl15per = 100;
  916. }
  917. else{
  918. $cl15per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  919. }
  920. end14:
  921. $n2++;
  922. $n3 = $n2;
  923. $n2 = 20;
  924. endwhile;
  925. $n2 = $n3;
  926.  
  927. while ($n2 <= 19):
  928. if ($lvlarray[$n2]['0'] == "-"){
  929. goto end15;
  930. }
  931. else{
  932. $cl16perw = "#cl16bar";
  933. $c16logo = $lvlarray[$n2]['1'];
  934. $cl16per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  935. }
  936.  
  937. if (empty($lvlarray[$n2]['3'])) {
  938. $cl16per = 100;
  939. }
  940. else{
  941. $cl16per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  942. }
  943. end15:
  944. $n2++;
  945. $n3 = $n2;
  946. $n2 = 20;
  947. endwhile;
  948. $n2 = $n3;
  949.  
  950. while ($n2 <= 19):
  951. if ($lvlarray[$n2]['0'] == "-"){
  952. goto end16;
  953. }
  954. else{
  955. $cl17perw = "#cl17bar";
  956. $c17logo = $lvlarray[$n2]['1'];
  957. $cl17per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  958. }
  959.  
  960. if (empty($lvlarray[$n2]['3'])) {
  961. $cl17per = 100;
  962. }
  963. else{
  964. $cl17per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  965. }
  966. end16:
  967. $n2++;
  968. $n3 = $n2;
  969. $n2 = 20;
  970. endwhile;
  971. $n2 = $n3;
  972.  
  973. while ($n2 <= 19):
  974. if ($lvlarray[$n2]['0'] == "-"){
  975. goto end117;
  976. }
  977. else{
  978. $cl18perw = "#cl18bar";
  979. $c18logo = $lvlarray[$n2]['1'];
  980. $cl18per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  981. }
  982.  
  983. if (empty($lvlarray[$n2]['3'])) {
  984. $cl18per = 100;
  985. }
  986. else{
  987. $cl18per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  988. }
  989. end117:
  990. $n2++;
  991. $n3 = $n2;
  992. $n2 = 20;
  993. endwhile;
  994. $n2 = $n3;
  995.  
  996. while ($n2 <= 19):
  997. if ($lvlarray[$n2]['0'] == "-"){
  998. goto end18;
  999. }
  1000. else{
  1001. $cl19perw = "#cl19bar";
  1002. $c19logo = $lvlarray[$n2]['1'];
  1003. $cl19per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  1004. }
  1005.  
  1006. if (empty($lvlarray[$n2]['3'])) {
  1007. $cl19per = 100;
  1008. }
  1009. else{
  1010. $cl19per = $lvlarray[$n2]['2']/$lvlarray[$n2]['3'] * 100;
  1011. }
  1012. end18:
  1013. $n2++;
  1014. $n3 = $n2;
  1015. $n2 = 20;
  1016. endwhile;
  1017. $n2 = $n3;
  1018.  
  1019. //percentage of main bar
  1020. if (empty($mexp['exp']['max'])) {
  1021. $percentage = 100;
  1022. }
  1023. else{
  1024. $percentage = $mexp['exp']['current']/$mexp['exp']['max'] * 100;
  1025. }
  1026. //echo $percentage;
  1027.  
  1028. //echo stats ( Numbers )
  1029. //echo "<br />";
  1030. //echo '<img src="'. $monster['icon'] .'" /><br />';
  1031. //echo "Intelligence:";
  1032. //echo $Character->getStat('attributes', 'intelligence ');
  1033. //echo "<br />";
  1034. //echo "Mind:";
  1035. //echo $Character->getStat('attributes', 'mind ');
  1036. //echo "<br />";
  1037. //echo "Piety:";
  1038. //echo $Character->getStat('attributes', 'piety ');
  1039. echo "<br />";
  1040. //echo "Accuracy:";
  1041. //echo $Character->getStat('offense', 'accuracy');
  1042. echo "<br />";
  1043. //echo "critical hit rate:";
  1044. //echo $Character->getStat('offense', 'critical hit rate');
  1045. echo "<br />";
  1046. //echo "Determination:";
  1047. //echo $Character->getStat('offense', 'determination');
  1048. echo "<br />";
  1049. //echo "Defense:";
  1050. //echo $Character->getStat('defense', 'defense');
  1051. echo "<br />";
  1052. //echo "Parry:";
  1053. //echo $Character->getStat('defense', 'parry');
  1054. echo "<br />";
  1055. //echo "Magic Defense:";
  1056. //echo $Character->getStat('defense', 'magic defense');
  1057. echo "<br />";
  1058. //echo "Attack Power:";
  1059. //echo $Character->getStat('physical', 'attack power');
  1060. //echo "Skill Speed:";
  1061. //echo $Character->getStat('physical', 'skill speed');
  1062. echo "<br />";
  1063. echo "<br />";
  1064. ?>
  1065. <?php
  1066. ?>
  1067. <div class="bcontainer2">
  1068. <div class="lvl1">
  1069. <?php
  1070. echo '<a href="#" id="logo1"><img src="'. $c1logo .'"alt=""
  1071. onmouseover="this.src="'. $c2logo .'"" onmouseout="this.src="'. $c1logo .'"" /></a>';
  1072. ?>
  1073.  
  1074. </div>
  1075.  
  1076. <div class="lvl2">
  1077. <?php
  1078. echo '<a href="#" id="logo2"><img src="'. $c2logo .'"alt=""></a>';
  1079. ?>
  1080. </div>
  1081. <div class="lvl3">
  1082. <?php
  1083. echo '<a href="#" id="logo3"><img src="'. $c3logo .'"alt=""></a>';
  1084. ?>
  1085. </div>
  1086. <div class="lvl4">
  1087. <?php
  1088. echo '<a href="#" id="port"><img src="'. $c4logo .'"alt=""></a>';
  1089. ?>
  1090. </div>
  1091. <div class="lvl5">
  1092. <?php
  1093. echo '<a href="#" id="port"><img src="'. $c5logo .'"alt=""></a>';
  1094. ?>
  1095. </div>
  1096. <div class="lvl6">
  1097. <?php
  1098. echo '<a href="#" id="port"><img src="'. $c6logo .'"alt=""></a>';
  1099. ?>
  1100. </div>
  1101. <div class="lvl7">
  1102. <?php
  1103. echo '<a href="#" id="port"><img src="'. $c7logo .'"alt=""></a>';
  1104. ?>
  1105. </div>
  1106. <div class="lvl8">
  1107. <?php
  1108. echo '<a href="#" id="port"><img src="'. $c8logo .'"alt=""></a>';
  1109. ?>
  1110. </div>
  1111. <div class="lvl9">
  1112. <?php
  1113. echo '<a href="#" id="port"><img src="'. $c9logo .'"alt=""></a>';
  1114. ?>
  1115. </div>
  1116. <div class="lvl10">
  1117. <?php
  1118. echo '<a href="#" id="port"><img src="'. $c10logo .'"alt=""></a>';
  1119. ?>
  1120. </div>
  1121. <div class="lvl11">
  1122. <?php
  1123. echo '<a href="#" id="port"><img src="'. $c11logo .'"alt=""></a>';
  1124. ?>
  1125. </div>
  1126. <div class="lvl12">
  1127. <?php
  1128. echo '<a href="#" id="port"><img src="'. $c12logo .'"alt=""></a>';
  1129. ?>
  1130. </div>
  1131. <div class="lvl13">
  1132. <?php
  1133. echo '<a href="#" id="port"><img src="'. $c13logo .'"alt=""></a>';
  1134. ?>
  1135. </div>
  1136. <div class="lvl14">
  1137. <?php
  1138. echo '<a href="#" id="port"><img src="'. $c14logo .'"alt=""></a>';
  1139. ?>
  1140. </div>
  1141. <div class="lvl15">
  1142. <?php
  1143. echo '<a href="#" id="port"><img src="'. $c15logo .'"alt=""></a>';
  1144. ?>
  1145. </div>
  1146. <div class="lvl16">
  1147. <?php
  1148. echo '<a href="#" id="port"><img src="'. $c16logo .'"alt=""></a>';
  1149. ?>
  1150. </div>
  1151. <div class="lvl17">
  1152. <?php
  1153. echo '<a href="#" id="port"><img src="'. $c17logo .'"alt=""></a>';
  1154. ?>
  1155. </div>
  1156. <div class="lvl18">
  1157. <?php
  1158. echo '<a href="#" id="port"><img src="'. $c18logo .'"alt=""></a>';
  1159. ?>
  1160. </div>
  1161. <div class="lvl19">
  1162. <?php
  1163. echo '<a href="#" id="port"><img src="'. $c19logo .'"alt=""></a>';
  1164. ?>
  1165. </div>
  1166. </div>
  1167. <style type="text/css">
  1168. #progressbar {
  1169. position: absolute;
  1170. left: 76px;
  1171. bottom: 167px;
  1172. background-color: rgb(0, 0, 0);
  1173. border-radius: 10px 13px 13px 13px;
  1174. padding: 2px;
  1175. width: 250px;
  1176. }
  1177.  
  1178. #progressbar > div {
  1179. background-color: orange;
  1180. width: <?php echo ($percentage)?>%; /* Adjust with JavaScript */
  1181. height: 10px;
  1182. border-radius: 10px;
  1183. }
  1184.  
  1185. <?php
  1186. echo "$cl4perw {"
  1187. ?>
  1188. position: absolute;
  1189. left: 15px;
  1190. bottom: 435px;
  1191. height: 2px;
  1192. background-color: rgb(0, 0, 0);
  1193. border-radius: 10px 13px 13px 13px;
  1194. padding: 2px;
  1195. width: 50px;
  1196. height: 2px:;
  1197. }
  1198.  
  1199. <?php
  1200. echo "$cl4perw > div {"
  1201. ?>
  1202. background-color: <?php echo ($lvlarray[3][6]) ?>;
  1203. width: <?php echo ($cl4per)?>%; /* Adjust with JavaScript */
  1204. border-radius: 10px;
  1205. height: 2px;
  1206. }
  1207.  
  1208.  
  1209. <?php
  1210. echo "$cl1perw {"
  1211. ?>
  1212. position: absolute;
  1213. left: 15px;
  1214. bottom: 510px;
  1215. height: 2px;
  1216. background-color: rgb(0, 0, 0);
  1217. border-radius: 10px 13px 13px 13px;
  1218. padding: 2px;
  1219. width: 50px;
  1220. height: 2px:;
  1221. }
  1222. <?php
  1223. echo "$cl1perw > div {"
  1224. ?>
  1225. background-color: <?php echo ($lvlarray[0][6]) ?>;
  1226. width: <?php echo ($cl1per)?>%; /* Adjust with JavaScript */
  1227. border-radius: 10px;
  1228. height: 2px;
  1229. }
  1230.  
  1231. <?php
  1232. echo "$cl2perw {"
  1233. ?>
  1234. position: absolute;
  1235. left: 15px;
  1236. bottom: 485px;
  1237. height: 2px;
  1238. background-color: rgb(0, 0, 0);
  1239. border-radius: 10px 13px 13px 13px;
  1240. padding: 2px;
  1241. width: 50px;
  1242. height: 2px:;
  1243. }
  1244.  
  1245. <?php
  1246. echo "$cl2perw > div {"
  1247. ?>
  1248. background-color: <?php echo ($lvlarray[1][6]) ?>;
  1249. width: <?php echo ($cl2per)?>%; /* Adjust with JavaScript */
  1250. border-radius: 10px;
  1251. height: 2px;
  1252. }
  1253.  
  1254. <?php
  1255. echo "$cl3perw {"
  1256. ?>
  1257. position: absolute;
  1258. left: 15px;
  1259. bottom: 460px;
  1260. height: 2px;
  1261. background-color: rgb(0, 0, 0);
  1262. border-radius: 10px 13px 13px 13px;
  1263. padding: 2px;
  1264. width: 50px;
  1265. height: 2px:;
  1266. }
  1267.  
  1268. <?php
  1269. echo "$cl3perw > div {"
  1270. ?>
  1271. background-color: <?php echo ($lvlarray[2][6]) ?>;
  1272. width: <?php echo ($cl3per)?>%; /* Adjust with JavaScript */
  1273. border-radius: 10px;
  1274. height: 2px;
  1275. }
  1276.  
  1277. <?php
  1278. echo "$cl5perw {"
  1279. ?>
  1280. position: absolute;
  1281. left: 15px;
  1282. bottom: 410px;
  1283. height: 2px;
  1284. background-color: rgb(0, 0, 0);
  1285. border-radius: 10px 13px 13px 13px;
  1286. padding: 2px;
  1287. width: 50px;
  1288. height: 2px:;
  1289. }
  1290.  
  1291. <?php
  1292. echo "$cl5perw > div {"
  1293. ?>
  1294. background-color: <?php echo ($lvlarray[4][6]) ?>;
  1295. width: <?php echo ($cl5per)?>%; /* Adjust with JavaScript */
  1296. border-radius: 10px;
  1297. height: 2px;
  1298. }
  1299.  
  1300. <?php
  1301. echo "$cl6perw {"
  1302. ?>
  1303. position: absolute;
  1304. left: 15px;
  1305. bottom: 385px;
  1306. height: 2px;
  1307. background-color: rgb(0, 0, 0);
  1308. border-radius: 10px 13px 13px 13px;
  1309. padding: 2px;
  1310. width: 50px;
  1311. height: 2px:;
  1312. }
  1313.  
  1314. <?php
  1315. echo "$cl6perw > div {"
  1316. ?>
  1317. background-color: <?php echo ($lvlarray[5][6]) ?>;
  1318. width: <?php echo ($cl6per)?>%; /* Adjust with JavaScript */
  1319. border-radius: 10px;
  1320. height: 2px;
  1321. }
  1322.  
  1323. <?php
  1324. echo "$cl7perw {"
  1325. ?>
  1326. position: absolute;
  1327. left: 15px;
  1328. bottom: 360px;
  1329. height: 2px;
  1330. background-color: rgb(0, 0, 0);
  1331. border-radius: 10px 13px 13px 13px;
  1332. padding: 2px;
  1333. width: 50px;
  1334. height: 2px:;
  1335. }
  1336.  
  1337. <?php
  1338. echo "$cl7perw > div {"
  1339. ?>
  1340. background-color: <?php echo ($lvlarray[6][6]) ?>;
  1341. width: <?php echo ($cl7per)?>%; /* Adjust with JavaScript */
  1342. border-radius: 10px;
  1343. height: 2px;
  1344. }
  1345.  
  1346. <?php
  1347. echo "$cl8perw {"
  1348. ?>
  1349. position: absolute;
  1350. left: 15px;
  1351. bottom: 335px;
  1352. height: 2px;
  1353. background-color: rgb(0, 0, 0);
  1354. border-radius: 10px 13px 13px 13px;
  1355. padding: 2px;
  1356. width: 50px;
  1357. height: 2px:;
  1358. }
  1359.  
  1360. <?php
  1361. echo "$cl8perw > div {"
  1362. ?>
  1363. background-color: <?php echo ($lvlarray[7][6]) ?>;
  1364. width: <?php echo ($cl8per)?>%; /* Adjust with JavaScript */
  1365. border-radius: 10px;
  1366. height: 2px;
  1367. }
  1368.  
  1369. <?php
  1370. echo "$cl9perw {"
  1371. ?>
  1372. position: absolute;
  1373. left: 15px;
  1374. bottom: 310px;
  1375. height: 2px;
  1376. background-color: rgb(0, 0, 0);
  1377. border-radius: 10px 13px 13px 13px;
  1378. padding: 2px;
  1379. width: 50px;
  1380. height: 2px:;
  1381. }
  1382.  
  1383. <?php
  1384. echo "$cl9perw > div {"
  1385. ?>
  1386. background-color: <?php echo ($lvlarray[8][6]) ?>;
  1387. width: <?php echo ($cl9per)?>%; /* Adjust with JavaScript */
  1388. border-radius: 10px;
  1389. height: 2px;
  1390. }
  1391.  
  1392. <?php
  1393. echo "$cl10perw {"
  1394. ?>
  1395. position: absolute;
  1396. left: 15px;
  1397. bottom: 285px;
  1398. height: 2px;
  1399. background-color: rgb(0, 0, 0);
  1400. border-radius: 10px 13px 13px 13px;
  1401. padding: 2px;
  1402. width: 50px;
  1403. height: 2px:;
  1404. }
  1405.  
  1406. <?php
  1407. echo "$cl10perw > div {"
  1408. ?>
  1409. background-color: <?php echo ($lvlarray[9][6]) ?>;
  1410. width: <?php echo ($cl10per)?>%; /* Adjust with JavaScript */
  1411. border-radius: 10px;
  1412. height: 2px;
  1413. }
  1414.  
  1415. <?php
  1416. echo "$cl11perw {"
  1417. ?>
  1418. position: absolute;
  1419. left: 15px;
  1420. bottom: 260px;
  1421. height: 2px;
  1422. background-color: rgb(0, 0, 0);
  1423. border-radius: 10px 13px 13px 13px;
  1424. padding: 2px;
  1425. width: 50px;
  1426. height: 2px:;
  1427. }
  1428.  
  1429. <?php
  1430. echo "$cl11perw > div {"
  1431. ?>
  1432. background-color: <?php echo ($lvlarray[10][6]) ?>;
  1433. width: <?php echo ($cl11per)?>%; /* Adjust with JavaScript */
  1434. border-radius: 10px;
  1435. height: 2px;
  1436. }
  1437.  
  1438. <?php
  1439. echo "$cl12perw {"
  1440. ?>
  1441. position: absolute;
  1442. left: 15px;
  1443. bottom: 235px;
  1444. height: 2px;
  1445. background-color: rgb(0, 0, 0);
  1446. border-radius: 10px 13px 13px 13px;
  1447. padding: 2px;
  1448. width: 50px;
  1449. height: 2px:;
  1450. }
  1451.  
  1452. <?php
  1453. echo "$cl12perw > div {"
  1454. ?>
  1455. background-color: <?php echo ($lvlarray[11][6]) ?>;
  1456. width: <?php echo ($cl12per)?>%; /* Adjust with JavaScript */
  1457. border-radius: 10px;
  1458. height: 2px;
  1459. }
  1460.  
  1461. <?php
  1462. echo "$cl13perw {"
  1463. ?>
  1464. position: absolute;
  1465. left: 15px;
  1466. bottom: 210px;
  1467. height: 2px;
  1468. background-color: rgb(0, 0, 0);
  1469. border-radius: 10px 13px 13px 13px;
  1470. padding: 2px;
  1471. width: 50px;
  1472. height: 2px:;
  1473. }
  1474.  
  1475. <?php
  1476. echo "$cl13perw > div {"
  1477. ?>
  1478. background-color: <?php echo ($lvlarray[12][6]) ?>;
  1479. width: <?php echo ($cl13per)?>%; /* Adjust with JavaScript */
  1480. border-radius: 10px;
  1481. height: 2px;
  1482. }
  1483.  
  1484. <?php
  1485. echo "$cl14perw {"
  1486. ?>
  1487. position: absolute;
  1488. left: 15px;
  1489. bottom: 185px;
  1490. height: 2px;
  1491. background-color: rgb(0, 0, 0);
  1492. border-radius: 10px 13px 13px 13px;
  1493. padding: 2px;
  1494. width: 50px;
  1495. height: 2px:;
  1496. }
  1497.  
  1498. <?php
  1499. echo "$cl14perw > div {"
  1500. ?>
  1501. background-color: <?php echo ($lvlarray[13][6]) ?>;
  1502. width: <?php echo ($cl14per)?>%; /* Adjust with JavaScript */
  1503. border-radius: 10px;
  1504. height: 2px;
  1505. }
  1506.  
  1507. <?php
  1508. echo "$cl15perw {"
  1509. ?>
  1510. position: absolute;
  1511. left: 15px;
  1512. bottom: 160px;
  1513. height: 2px;
  1514. background-color: rgb(0, 0, 0);
  1515. border-radius: 10px 13px 13px 13px;
  1516. padding: 2px;
  1517. width: 50px;
  1518. height: 2px:;
  1519. }
  1520.  
  1521. <?php
  1522. echo "$cl15perw > div {"
  1523. ?>
  1524. background-color: <?php echo ($lvlarray[14][6]) ?>;
  1525. width: <?php echo ($cl15per)?>%; /* Adjust with JavaScript */
  1526. border-radius: 10px;
  1527. height: 2px;
  1528. }
  1529.  
  1530. <?php
  1531. echo "$cl16perw {"
  1532. ?>
  1533. position: absolute;
  1534. left: 15px;
  1535. bottom: 135px;
  1536. height: 2px;
  1537. background-color: rgb(0, 0, 0);
  1538. border-radius: 10px 13px 13px 13px;
  1539. padding: 2px;
  1540. width: 50px;
  1541. height: 2px:;
  1542. }
  1543.  
  1544. <?php
  1545. echo "$cl16perw > div {"
  1546. ?>
  1547. background-color: <?php echo ($lvlarray[15][6]) ?>;
  1548. width: <?php echo ($cl16per)?>%; /* Adjust with JavaScript */
  1549. border-radius: 10px;
  1550. height: 2px;
  1551. }
  1552.  
  1553. <?php
  1554. echo "$cl17perw {"
  1555. ?>
  1556. position: absolute;
  1557. left: 15px;
  1558. bottom: 110px;
  1559. height: 2px;
  1560. background-color: rgb(0, 0, 0);
  1561. border-radius: 10px 13px 13px 13px;
  1562. padding: 2px;
  1563. width: 50px;
  1564. height: 2px:;
  1565. }
  1566.  
  1567. <?php
  1568. echo "$cl17perw > div {"
  1569. ?>
  1570. background-color: <?php echo ($lvlarray[16][6]) ?>;
  1571. width: <?php echo ($cl17per)?>%; /* Adjust with JavaScript */
  1572. border-radius: 10px;
  1573. height: 2px;
  1574. }
  1575.  
  1576. <?php
  1577. echo "$cl18perw {"
  1578. ?>
  1579. position: absolute;
  1580. left: 15px;
  1581. bottom: 85px;
  1582. height: 2px;
  1583. background-color: rgb(0, 0, 0);
  1584. border-radius: 10px 13px 13px 13px;
  1585. padding: 2px;
  1586. width: 50px;
  1587. height: 2px:;
  1588. }
  1589.  
  1590. <?php
  1591. echo "$cl18perw > div {"
  1592. ?>
  1593. background-color: <?php echo ($lvlarray[17][6]) ?>;
  1594. width: <?php echo ($cl18per)?>%; /* Adjust with JavaScript */
  1595. border-radius: 10px;
  1596. height: 2px;
  1597. }
  1598.  
  1599. <?php
  1600. echo "$cl19perw {"
  1601. ?>
  1602. position: absolute;
  1603. left: 15px;
  1604. bottom: 55px;
  1605. height: 2px;
  1606. background-color: rgb(0, 0, 0);
  1607. border-radius: 10px 13px 13px 13px;
  1608. padding: 2px;
  1609. width: 50px;
  1610. height: 2px:;
  1611. }
  1612.  
  1613. <?php
  1614. echo "$cl19perw > div {"
  1615. ?>
  1616. background-color: <?php echo ($lvlarray[18][6]) ?>;
  1617. width: <?php echo ($cl19per)?>%; /* Adjust with JavaScript */
  1618. border-radius: 10px;
  1619. height: 2px;
  1620. }
  1621.  
  1622. </style>
  1623. <div class="bcontainer">
  1624. <div id="progressbar">
  1625. <div></div>
  1626. </div>
  1627. </div>
  1628.  
  1629. <div class="bcontainer">
  1630. <div id="cl1bar">
  1631. <div></div>
  1632. </div>
  1633.  
  1634. <div id="cl2bar">
  1635. <div></div>
  1636. </div>
  1637.  
  1638. <div id="cl3bar">
  1639. <div></div>
  1640. </div>
  1641.  
  1642. <div id="cl4bar">
  1643. <div></div>
  1644. </div>
  1645.  
  1646. <div id="cl5bar">
  1647. <div></div>
  1648. </div>
  1649.  
  1650. <div id="cl6bar">
  1651. <div></div>
  1652. </div>
  1653.  
  1654. <div id="cl7bar">
  1655. <div></div>
  1656. </div>
  1657.  
  1658. <div id="cl8bar">
  1659. <div></div>
  1660. </div>
  1661.  
  1662. <div id="cl9bar">
  1663. <div></div>
  1664. </div>
  1665.  
  1666. <div id="cl10bar">
  1667. <div></div>
  1668. </div>
  1669.  
  1670. <div id="cl11bar">
  1671. <div></div>
  1672. </div>
  1673.  
  1674. <div id="cl12bar">
  1675. <div></div>
  1676. </div>
  1677.  
  1678. <div id="cl13bar">
  1679. <div></div>
  1680. </div>
  1681.  
  1682. <div id="cl14bar">
  1683. <div></div>
  1684. </div>
  1685.  
  1686. <div id="cl15bar">
  1687. <div></div>
  1688. </div>
  1689.  
  1690. <div id="cl16bar">
  1691. <div></div>
  1692. </div>
  1693.  
  1694. <div id="cl17bar">
  1695. <div></div>
  1696. </div>
  1697.  
  1698. <div id="cl18bar">
  1699. <div></div>
  1700. </div>
  1701.  
  1702. <div id="cl19bar">
  1703. <div></div>
  1704.  
  1705. </div>
  1706. </div>
  1707. <p id="text"><span class="hotspot" onmouseover="tooltip.show('warrior test speach ( this is warrior blah blah blah ) </n><strong>more test more test more test</strong>');" onmouseout="tooltip.hide();">test</span> </p>
  1708.  
  1709. </div>
  1710. </li>
  1711. </ul>
  1712. </div>
  1713. </div>
  1714. </div>
  1715. </div>
  1716. </div>
  1717. <div id="footer">
  1718. <div>
  1719. <ul>
  1720. <li id="facebook">
  1721. <a href="#">facebook</a>
  1722. </li>
  1723. <li id="twitter">
  1724. <a href="#">twitter</a>
  1725. </li>
  1726. <li id="googleplus">
  1727. <a href="#">googleplus</a>
  1728. </li>
  1729. </ul>
  1730. <p>
  1731. @ copyright 2012. all rights reserved.
  1732. </p>
  1733. </div>
  1734. </div>
  1735. </div>
  1736. <script>
  1737. (function(){
  1738.  
  1739. var allimgs = document.images;
  1740.  
  1741. for(var i=0; i<allimgs.length; i++){
  1742.  
  1743. allimgs[i].onerror = function () {
  1744.  
  1745. this.style.visibility = "hidden"; // other elements not affected
  1746.  
  1747. }
  1748.  
  1749. }
  1750. })();
  1751. </script>
  1752.  
  1753. <script>
  1754. $(document).ready(function() {
  1755. $( "#logo3" ).mouseover(function(){
  1756. $(this).attr("src", "http://img.finalfantasyxiv.com/lds/pc/global/images/class/24/59fde9fca303490477962039f6cd0d0101caeabe.png");
  1757. });
  1758.  
  1759. $( "#logo3" ).mouseout(function(){
  1760. $(this).attr("src", "http://img.finalfantasyxiv.com/lds/pc/global/images/class/24/5ca476c2166b399e3ec92e8008544fdbea75b6a2.png");
  1761. });
  1762. });
  1763. </script>
  1764.  
  1765. <script type="text/javascript" src="http://xivdb.com/tooltips.js"></script
  1766. <script type="text/javascript" language="javascript" src="tt.js"></script>
  1767.  
  1768. <script>
  1769. var xivdb_tooltips =
  1770. {
  1771. 'language' : "<?php echo $test3;?>",
  1772.  
  1773. 'replaceName' : false,
  1774. 'colorName' : true,
  1775. 'showIcon' : false,
  1776. }
  1777. </script>
  1778. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement