Location: PHPKode > scripts > phpRetrieve > phpRetrieve/viewSave.php
<div id="left" >
			
			<?php
				
				include('navigator.php');

			?>
			
</div>
	<div id="right" >
		<?php
		
			if($manualQuery == ""){
				echo "&nbsp;&nbsp;<a class=\"button\" href=\"javascript: window.location='index.php?view=Design'\"  title=\"Show Design\" ><span><b>Design</b></span></a>";
			}
		?>
		&nbsp;&nbsp;<a class="button" href="javascript: window.location='index.php?view=SQL'"  title="Show MySQL" ><span><b>Show MySQL</b></span></a>
		&nbsp;&nbsp;<a class="button" href="javascript: window.location='index.php?view=Run'"  title="Run Query" ><span><b>Run</b></span></a>
		<div class="clear"></div>
		<br/>
		<div>
			<form id="myForm" method="post" action="saveQuery.php">
				<table>
					<tr><th colspan=2>Report Save Options</th></tr>
					<tr>
						<td class="td2" style="text-align:right;">&nbsp;&nbsp;Owner : &nbsp;&nbsp;</td>
						<td class="td2">&nbsp;<?php echo $currentUser; ?></td>
					</tr>
					<tr>
						<td class="td2" style="text-align:right;">&nbsp;&nbsp;Report Name : &nbsp;&nbsp;</td>
						<td class="td2" ><input class="input1" type="text" name="reportName" value="<?php echo $_SESSION['session_rptName']; ?>" size="70"/></td>
					</tr>
					<tr>
						<td class="td2" style="text-align:right;">&nbsp;&nbsp;Share : &nbsp;&nbsp;</td>
						<td class="td2">
							<?php
							
								if($_SESSION['session_rptOwner'] == $currentUser){
									$n = ""; $r = ""; $f = "";
									if($_SESSION['session_rptShare'] == "No"){ $n = "Checked"; }
									if($_SESSION['session_rptShare'] == "ReadOnly"){ $r = "Checked"; }
									if($_SESSION['session_rptShare'] == "Full"){ $f = "Checked"; }
									echo " 	<input type=\"radio\" name=\"share\" value=\"No\" $n /> No&nbsp;&nbsp;&nbsp;&nbsp;
											<input type=\"radio\" name=\"share\" value=\"ReadOnly\" $r /> Yes (read only)&nbsp;&nbsp;&nbsp;&nbsp;
											<input type=\"radio\" name=\"share\" value=\"Full\" $f /> Yes (read & save) ";
								}
								else {
									echo $_SESSION['session_rptShare'];
								}
							?>
						</td>
					</tr>
					
				</table>
				
				<br/>
				<div style="margin-left: 450px;">
					<?php
						
						if($tbl != "" || $manualQuery !=""){
							echo "&nbsp;&nbsp;<a class=\"button\" href=\"javascript: submitMyForm2();\"  title=\"Save Report\" ><span><b>Save Report</b></span></a>";
						}
					
					?>
				</div>
			</form>
			<div class="clear"></div>
			<br/>
			
		</div>
		
	</div>
	
Return current item: phpRetrieve