Welcome Guest, Not a member yet? Register   Sign In
Invalid Request Variable?
#7

[eluser]Bl4cKWid0w[/eluser]
Code:
<div id='body-large'>
<div class='top'>
<h1>&lt;?=$clanName; ?&gt;<small>(&lt;?=anchor($baseURL."challenge/".$clanID, "Challenge"); ?&gt;) (&lt;?=anchor($baseURL."clans/manage/".$clanID, "Manage"); ?&gt;)</small></h1>
<small style='padding: 0px 0px 0px 15px;'>&lt;?=anchor($baseURL, "Storm Gaming Home"); ?&gt; » &lt;?=anchor($baseURL."clans", "Clans"); ?&gt; » &lt;?=anchor($baseURL."clans/".$clanID, $clanName); ?&gt;</small></div>
&lt;?php
$hidden = array('clanID', $this->uri->segment(3));
echo form_open_multipart($baseURL."clans/manage/".$clanID,'',$hidden); ?&gt;
<table align='center' cellspacing='1' cellpadding='0' border='0' id='clantable'>
<tr>
<td colspan='2'><img src='&lt;?=$clanLogo; ?&gt;' width='100' height='100' alt='&lt;?=$clanName; ?&gt;' border='0'>
                &lt;?=form_upload('clanLogo'); ?&gt;</td>
</tr><tr>
<td align='center' colspan='2'>Clan Motto: <br>&lt;?php if(($type == "admin") or ($type == "leader")) echo "&lt;input type='text' name='clanMotto' value='$clanMotto'&gt;"; ?&gt;</td>
</tr><tr>
<td align='right' width='50%'>Wins: &lt;?=$wins; ?&gt;</td>
<td align='left' width='50%'>Exp: &lt;?=$exp; ?&gt;</td>
</tr><tr>
<td align='right' width='50%'>Losses: &lt;?=$losses; ?&gt;</td>
<td align='left' width='50%'>Website:<br>&lt;?php if(($type == "admin") or ($type == "leader")) echo "&lt;input type='text' name='clanWebsite' value='$clanWebsite'&gt;"; ?&gt;</td>
</tr><tr>
<td align='right' width='50%'>Clan AIM: &lt;?=$clanAIM; ?&gt;<br>&lt;?php if(($type == "admin") or ($type == "leader")) echo "&lt;input type='text' name='clanAIM' value='$clanAIM'&gt;"; ?&gt;</td>
<td align='left' width='50%'>Clan MSN: &lt;?=$clanMSN; ?&gt;<br>&lt;?php if(($type == "admin") or ($type == "leader")) echo "&lt;input type='text' name='clanMSN' value='$clanMSN'&gt;"; ?&gt;</td>
</tr>
</table>

<div style='text-align: center'><h1>Clan Roster<h1></div>
<table align='center' cellspacing='1' cellpadding='0' border='0' id='clantable'>
<tr>
<td align='right' width='10%'>Status</td>
<td align='center' width='30%'>Member Name</td>
<td align='center' width='20%'>Clan Role</td>
<td align='center' width='10%'>Clan Exp</td>
<td align='center' width='15%'>Join Date</td>
<td align='center' width='15%'>Contact</td>
</tr><tr>

&lt;?php foreach($memberQuery->result() as $roster){
$memberID = $roster->memberID;
$query = $this->db->query("SELECT * FROM smf_members WHERE ID_MEMBER = '".$memberID."'");
$member = $query->row();
$memberName = $member->memberName; ?&gt;
<td align='right' width='10%'>Active</td>
<td align='center' width='30%'>&lt;?=anchor($baseURL.'forums/index.php?action=profile;u='.$memberID, $memberName); ?&gt;</td>
<td align='center' width='20%'>&lt;?=$roster->role; ?&gt;</td>
<td align='center' width='10%'>&lt;?=$roster->experience; ?&gt;</td>
<td align='center' width='15%'>&lt;?=$roster->joinDate; ?&gt;</td>
<td align='center' width='15%'>&lt;?=mailto($member->emailAddress, 'Email'); ?&gt;</td>
</tr><tr>
&lt;?php }
if(($type == "leader") OR ($type == "co-leader") OR ($type == "captain") OR ($type == "recruiter")) {?&gt;
<td align='center' width='100%' colspan='6'>Recruit New Member</td>
</tr><tr>
<td align='right' width='60%' colspan='3'>&lt;input type='text' name='memberName'&gt;&lt;/td>
<td align='center' width='25%' colspan='2'><select name='role'>
                                        <option value='4'>Co-Leader</option>
                                        <option value='3'>Captain</option>
                                        <option value='2'>Recruiter</option>
                                        <option SELECTED value='1'>Member</option>
                                        </select>
<td align='center' width='15%'>&lt;input type='submit' value='Save' name='save'&gt;&lt;/td>
&lt;?php
}
?&gt;
</tr>                                                                              
</table>

<div class='bottom'></div>
</div>


Messages In This Thread
Invalid Request Variable? - by El Forum - 11-30-2008, 03:07 PM
Invalid Request Variable? - by El Forum - 12-01-2008, 10:43 AM
Invalid Request Variable? - by El Forum - 12-01-2008, 05:24 PM
Invalid Request Variable? - by El Forum - 12-02-2008, 07:49 PM
Invalid Request Variable? - by El Forum - 12-03-2008, 05:52 PM
Invalid Request Variable? - by El Forum - 12-03-2008, 05:59 PM
Invalid Request Variable? - by El Forum - 12-03-2008, 11:24 PM
Invalid Request Variable? - by El Forum - 12-04-2008, 06:36 AM
Invalid Request Variable? - by El Forum - 12-04-2008, 06:37 AM
Invalid Request Variable? - by El Forum - 12-04-2008, 11:14 PM
Invalid Request Variable? - by El Forum - 12-05-2008, 09:09 AM
Invalid Request Variable? - by El Forum - 12-05-2008, 06:29 PM
Invalid Request Variable? - by El Forum - 12-08-2008, 07:12 AM
Invalid Request Variable? - by El Forum - 12-08-2008, 09:30 AM
Invalid Request Variable? - by El Forum - 12-08-2008, 09:34 AM
Invalid Request Variable? - by El Forum - 12-08-2008, 09:41 AM
Invalid Request Variable? - by El Forum - 12-08-2008, 09:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB