					<table width="95%" cellpadding="0" cellspacing="0">
					
						<tr>
						
							<td width="50%" valign="top">
							
								<table width="95%">
									
									<form name="copy" method="post">
									<input type="hidden" name="return" value="<? echo "mgr.index.php?n=" . $n . "&p_mode=" . $p_mode; ?>">
									
									<tr bgcolor="#eeeeee">
									
										<td align="center" style="border-bottom: 1px solid #CCCBCB;border-right: 1px solid #CCCBCB"><font face="verdana" size="2" color="#8C8E91"><b>ID</b></td>
									
										<td align="left" style="border-bottom: 1px solid #CCCBCB;border-right: 1px solid #CCCBCB"><font face="verdana" size="2" color="#8C8E91"><b>Copy Page</b> <font face="verdana" size="1">(click to edit)</td>
									
									</tr>
									
									<?									
									$copy_result = mysql_query("SELECT * FROM copy order by 'copy_id'", $db);
									while($copy = mysql_fetch_object($copy_result)){
										if(strlen($copy->question) > 30){
											$trim_title = substr($copy->question, 0, 30) . "...";
										}
										else {
											$trim_title = $copy->name;
										}
										
										$row_color++;	
										if ($row_color%2 == 0) {
											echo "<tr bgcolor=\"#ECF6F8\">";
										}
										else {
											echo "<tr>";
										}
									?>
									
										<td align="center"><font face="verdana" size="1" color="#A4A3A3"><? echo $copy->copy_id; ?></a></td>
									
										<td><font face="verdana" size="1"><a href="mgr.index.php?n=<? echo $n; ?>&p_mode=<? echo $p_mode; ?>&c_id=<? echo $copy->copy_id; ?>"><? echo $trim_title; ?></a></td>
										
									</tr>
									
									<?
									
									}
									?>
									</form>
									
									<tr bgcolor="#eeeeee">
						
										<td align="left" colspan="3" style="border-bottom: 1px solid #CCCBCB;border-right: 1px solid #CCCBCB"><font face="verdana" size="1" color="#8C8E91"><b> &nbsp; </b></td>
										
									</tr>
									
								</table>
							
							</td>
							
							<?
							if($c_id != ""){
							?>
							
							<td width="50%" valign="top">
							
								<table width="95%">
					
									<?
									$copy_result = mysql_query("SELECT * FROM copy where copy_id = '$c_id'", $db);
									$copy = mysql_fetch_object($copy_result);
									
									echo "<form action=\"actions.php?a_mode=save_edit_copy\" method=\"post\">";
									echo "<input type=\"hidden\" name=\"c_id\" value=\"" . $c_id . "\">";
									echo "<input type=\"hidden\" name=\"return\" value=\"mgr.index.php?n=" . $n . "&p_mode=" . $p_mode . "\">";
									?>
								
									<tr bgcolor="#eeeeee">
									
										<td colspan="2" align="center" style="border-bottom: 1px solid #CCCBCB;border-right: 1px solid #CCCBCB"><font face="verdana" size="2" color="#8C8E91"><b>Edit Copy</b></td>
									
									</tr>
									
									<tr>
						
										<td align="right"><font face="verdana" size="2" color="#8C8E91"><b>Section</b></font></td>
										<td align="right"><input type="text" name="name" value="<? echo $copy->name; ?>" style="font-size: 10; width: 300" maxlength="256"></td>
										
									</tr>
									
									<tr>
						
										<td align="right" valign="top"><font face="verdana" size="2" color="#8C8E91"><b>Copy</b></font></td>
										<td align="right"><textarea name="copy" style="width: 300;height:125;"><? echo $copy->copy; ?></textarea></td>
										
									</tr>
									
									<tr>
									
										<td colspan="2" align="right"><a href="mgr.index.php?n=<? echo $n; ?>&p_mode=<? echo $p_mode; ?>&c_id="><img src="images/b.cancel.gif" border="0"></a><? if($mgr_login_type == "demo"){ ?><img src="images/b.save.gif" onclick="demo_mode()"><? } else { ?><input type="image" src="images/b.save.gif"><? } ?></td>
										
									</tr>
									</form>
									
									<tr bgcolor="#eeeeee">
						
										<td align="right" colspan="2" style="border-bottom: 1px solid #CCCBCB;border-right: 1px solid #CCCBCB"><font face="verdana" size="1" color="#B3B3B3">Copy Plugin &nbsp; </td>
										
									</tr>			
									
								</table>							
							
							</td>
							
							<? } ?>
							
						</tr>
						
					</table>