if (isset($_SESSION['id'])) { $name = $_SESSION['name']; ?> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo $name; ?> <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="?cype=main&page=members&name=<?php echo $_SESSION['pname']; ?> ">Profile</a></li> <li><a href="?cype=ucp&page=mail&s=3"><?php mailStats(3); ?> Unread Mail</a></li> <li><a href="?cype=ucp&page=charfix">Character Fix</a></li> <li class="divider"></li> <li><a href="?cype=misc&script=logout">Log Out</a></li> </ul> </li> </ul> <?php } ?> </div> </nav> <body> <div class="container">
?> </a><span class="divider"></span></li> <li><a href="?base=ucp&page=mail&s=2">Read: <?php mailStats(2); ?> </a><span class="divider"></span></li> <li><a href="?base=ucp&page=mail&s=3">Unread: <?php mailStats(3); ?> </a><span class="divider"></span></li> <li><a href="?base=ucp&page=mail&s=4">Sent: <?php mailStats(4); ?> </a><span class="divider"></span></li> <li><a href="?base=ucp&page=mail&s=5">Drafts: <?php mailStats(5); ?> </a><span class="divider"></span></li> </ul> <h3 class="text-left">Send Mail</h3><hr/> <form method="post" action="?base=ucp&page=mail&send"> <div class="form-group"> <label for="inputRecipient">Recipient</label> <input type="text" value="<?php if (isset($_GET['uc'])) { echo $_GET['uc']; } ?> "name="recipent" placeholder="Recipient" class="form-control" id="inputRecipient" required/> </div> <div class="form-group">