Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Beginner's HTML guide part 1 (of many)

  1. #11
    Join Date
    Jun 2013
    Location
    Hong Kong
    Posts
    162
    Quote Originally Posted by Wreckings View Post
    Yeah, I'm in the process of learning PHP. I made a comment system (though not in real-time) using mySQL and PHP. It works pretty well. Trying to make it in real-time.
    Thats easy, use some .tlps
    [root@naeng ~]# ./ssdp

  2. #12
    So I wonder if the current version of vBulletin of this forum is "HTML5"
    evil neko since '91

  3. #13
    NOPROBLEM Guest
    Quote Originally Posted by Veryl View Post
    So I wonder if the current version of vBulletin of this forum is "HTML5"
    no

  4. #14
    Join Date
    Jun 2013
    Location
    Hong Kong
    Posts
    162
    Quote Originally Posted by Veryl View Post
    So I wonder if the current version of vBulletin of this forum is "HTML5"
    I'm laughing so hard right now.
    [root@naeng ~]# ./ssdp

  5. #15

    "When God is for us, who can be against us?"

  6. #16
    Join Date
    Jun 2013
    Location
    Hong Kong
    Posts
    162
    Quote Originally Posted by Leningrad View Post
    Are you trying to give a video with Linux?
    I'm sure most people dont know what to do with a linux server since the basic stuff is just playing around with commands etc..
    [root@naeng ~]# ./ssdp

  7. #17
    Join Date
    Jun 2014
    Posts
    103
    Quote Originally Posted by Wesley View Post
    Oh man. Wait till you get into some complex PHP shit like I do. For example from the DRGunZ Website:
     

    Code:
    					<!-- Login Start -->
    					<div id="login">
    						<table style="position:relative; left:12px; top:11px; width:90%;">
    							<tr><td width="220" height="15" class="tbl_title"><?php echo $title['1']; ?></td></tr>
    							<?php if($_SESSION['user'] == ""){ ?>
    								<tr><td height="140px" valign="top" style="font-size:11px; padding-top:5px;">
    								<form action="index.php?act=login" method="post">
    									<?php echo $logpanel['1']; ?> <input type="text" name="userid" maxlength="15" class="logbbg" />
    									<input type="submit" name="login" value="" class="login_button" />
    									<?php echo $logpanel['2']; ?> <input type="password" name="password" maxlength="20" class="logbbg" /> <br />
    								</form>
    								<div id="loginf">
    									<div style="padding-top:7px; font-size:10px;"><?php echo $logpanel['3']; ?> <a href="index.php?act=register"><?php echo $logpanel['5']; ?></a></div>
    									<div style="padding-top:5px; font-size:10px;"><?php echo $logpanel['4']; ?> <a href="index.php?act=forgottenpassword"><?php echo $logpanel['6']; ?></a></div>
    								</div>
    								</td></tr>
    							<?php }else{ ?>
    								<!-- Logged in Start -->
    								<tr><td class="loggeduser"><?php echo $logpanel['7'].' '.$_SESSION['user']; ?> <a href="index.php?act=logout"><?php echo $logpanel['8']; ?></a></td></tr>
    								<tr><td></td></tr><tr><td></td></tr>
    								<?php
    									$sqlloged = "SELECT Name, AID, Tokens, Rebirths FROM Account WHERE UserID='".$_SESSION['user']."'";
    									$logquer = odbc_exec($connect, $sqlloged);
    									$logaid = odbc_fetch_array($logquer);
    									echo '<tr><td class="logged_dline"><span class="logdu">'.$loinup['1'].' :</span> '.$logaid['Name'].'</td></tr>';
    									// Get the CID's.
    									$clancid = odbc_exec($connect, "SELECT CID FROM Character WHERE AID = '" . $logaid['AID'] . "'");	
    										// Check if there are any results.
    										if(num_rows($clancid) > 0)
    										{
    											// Loop through the results and create a CSV in $cids.
    											$cids = '';
    											while($row = odbc_fetch_array($clancid))
    											{
    												$cids .= $row['CID'] . ',';
    											}
    											// Get Clan Name and CLID where CID is from the last query.
    											$clanclid = odbc_exec($connect, "SELECT a.Name, b.CLID FROM Clan a INNER JOIN ClanMember b ON a.CLID = b.CLID WHERE b.CID IN(" . substr($cids, 0, -1) . ")");
    											// Check if there are any results.
    											if(num_rows($clanclid) > 0)
    											{
    												// Loop through the results.
    												echo '<tr><td class="logged_dline"><span class="logdu">' . $loinup['6'] . ' :</span>';
    								?>
    												<select name="jumpMenu" class="tbl_colbor" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)">
    												<option value="">Select your clan</option>
    								<?
    												while($row = odbc_fetch_array($clanclid))
    												{
    													// Use the results.
    													echo '<option value="index.php?act=clanmanage&CLID=' . $row['CLID'] . '">' . $row['Name'] . '</option>';
    												}
    								?>
    												</select>
    								<?
    												echo '</td></tr>';
    											}
    											// If there are no results.
    											else
    											{
    												echo '<tr><td class="logged_dline"><span class="logdu">'.$loinup['6'].' :</span> You are not in any clan(s)!</td></tr>';
    											}
    										}
    										// If there are no results.
    										else
    										{
    											echo '<tr><td class="logged_dline"><span class="logdu">'.$loinup['6'].' :</span> You have no characters!</td></tr>';
    										}
    										echo '<tr><td class="logged_dline"><span class="logdu">'.$loinup['5'].' :</span> '.$logaid['Rebirths'].'</td></tr>';
    										echo '<tr><td class="logged_dline"><span class="logdu">'.$loinup['3'].' :</span> ';
    										if($logaid['Tokens'] == ""){
    											echo "0";
    										}else{
    											echo $logaid['Tokens'];
    										}
    										echo '</td></tr>';
    								?>
    								<tr><td></td></tr><tr><td></td></tr>
    								<tr><td class="logged_links">
    									<ul>
    										<?php if($_SESSION['UGradeID'] == 255){ ?>
    											<li><a href="index.php?act=admin" class="admin_button"></a></li>
    										<?php }if($_SESSION['UGradeID'] == 254){ ?>
    											<li><a href="index.php?act=gm" class="gm_button"></a></li>
    										<?php } ?>
    										<li><a href="index.php?act=userpanel" class="user_button"></a></li>
    									</ul>
    								</td></tr>
    								<!-- Logged in End -->
    							<?php } ?>

    Just a small bit of code.
    oya??
    echo "Hello";
    rekt

  8. #18
    this was coded really well

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •