Location: PHPKode > projects > eqEpic > eqEpic0.7.8/lists/chklist_paladd.php
<?php 
session_start();
ob_start();
?>
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
?>
<?php include ("../ewconfig.php") ?>
<?php include ("../db.php") ?>
<?php include ("chklist_palinfo.php") ?>
<?php include ("../advsecu.php") ?>
<?php include ("../phpmkrfn.php") ?>
<?php
if (!IsLoggedIn() && (@$_COOKIE[ewCookieAutoLogin] == "autologin" && @$_COOKIE[ewCookiePassword] <> "")) {
	ob_end_clean();
	header("Location: ../login.php");
	exit();
}
LoadUserLevel();
$ewCurSec = (IsLoggedIn())? CurrentUserLevelPriv("chklist_pal") : GetAnonymousPriv("chklist_pal");	
if (($ewCurSec & ewAllowAdd) <> ewAllowAdd) {
	ob_end_clean();
	header("Location: ../MyProfile.php");
	exit();
}
?>
<?php

// Load key from QueryString
$bCopy = true;
$x_pal_name = @$_GET["pal_name"];
if (($x_pal_name == "") || (is_null($x_pal_name))) $bCopy = false;

// Get action
$sAction = @$_POST["a_add"];
if (($sAction == "") || ((is_null($sAction)))) {
	if ($bCopy) {
		$sAction = "C"; // Copy record
	} else {
		$sAction = "I"; // Display blank record
	}
} else {

	// Get fields from form
	$x_pal_name = @$_POST["x_pal_name"];
	$x_step001 = @$_POST["x_step001"];
	$x_step002 = @$_POST["x_step002"];
	$x_step003 = @$_POST["x_step003"];
	$x_step004 = @$_POST["x_step004"];
	$x_step005 = @$_POST["x_step005"];
	$x_step006 = @$_POST["x_step006"];
	$x_step007 = @$_POST["x_step007"];
	$x_step008 = @$_POST["x_step008"];
	$x_step009 = @$_POST["x_step009"];
	$x_step010 = @$_POST["x_step010"];
	$x_step011 = @$_POST["x_step011"];
	$x_step012 = @$_POST["x_step012"];
	$x_step013 = @$_POST["x_step013"];
	$x_step014 = @$_POST["x_step014"];
	$x_step015 = @$_POST["x_step015"];
	$x_step016 = @$_POST["x_step016"];
	$x_step017 = @$_POST["x_step017"];
	$x_step018 = @$_POST["x_step018"];
	$x_step019 = @$_POST["x_step019"];
	$x_step020 = @$_POST["x_step020"];
	$x_step021 = @$_POST["x_step021"];
	$x_step022 = @$_POST["x_step022"];
	$x_step023 = @$_POST["x_step023"];
	$x_step024 = @$_POST["x_step024"];
	$x_step025 = @$_POST["x_step025"];
	$x_step026 = @$_POST["x_step026"];
	$x_step027 = @$_POST["x_step027"];
	$x_step028 = @$_POST["x_step028"];
	$x_step029 = @$_POST["x_step029"];
	$x_step030 = @$_POST["x_step030"];
	$x_step031 = @$_POST["x_step031"];
	$x_step032 = @$_POST["x_step032"];
	$x_step033 = @$_POST["x_step033"];
	$x_step034 = @$_POST["x_step034"];
	$x_step035 = @$_POST["x_step035"];
	$x_step036 = @$_POST["x_step036"];
	$x_step037 = @$_POST["x_step037"];
	$x_step038 = @$_POST["x_step038"];
	$x_step039 = @$_POST["x_step039"];
	$x_step040 = @$_POST["x_step040"];
	$x_step041 = @$_POST["x_step041"];
	$x_step042 = @$_POST["x_step042"];
	$x_step043 = @$_POST["x_step043"];
	$x_step044 = @$_POST["x_step044"];
	$x_step045 = @$_POST["x_step045"];
	$x_step046 = @$_POST["x_step046"];
	$x_step047 = @$_POST["x_step047"];
	$x_step048 = @$_POST["x_step048"];
	$x_step049 = @$_POST["x_step049"];
	$x_step050 = @$_POST["x_step050"];
	$x_step051 = @$_POST["x_step051"];
	$x_step052 = @$_POST["x_step052"];
	$x_step053 = @$_POST["x_step053"];
	$x_step054 = @$_POST["x_step054"];
	$x_step055 = @$_POST["x_step055"];
	$x_step056 = @$_POST["x_step056"];
	$x_step057 = @$_POST["x_step057"];
	$x_step058 = @$_POST["x_step058"];
	$x_step059 = @$_POST["x_step059"];
	$x_step060 = @$_POST["x_step060"];
	$x_step061 = @$_POST["x_step061"];
	$x_step062 = @$_POST["x_step062"];
	$x_step063 = @$_POST["x_step063"];
	$x_step064 = @$_POST["x_step064"];
	$x_step065 = @$_POST["x_step065"];
	$x_step066 = @$_POST["x_step066"];
	$x_step067 = @$_POST["x_step067"];
	$x_step068 = @$_POST["x_step068"];
	$x_step069 = @$_POST["x_step069"];
	$x_step070 = @$_POST["x_step070"];
	$x_step071 = @$_POST["x_step071"];
	$x_step072 = @$_POST["x_step072"];
	$x_step073 = @$_POST["x_step073"];
	$x_step074 = @$_POST["x_step074"];
	$x_step075 = @$_POST["x_step075"];
	$x_step076 = @$_POST["x_step076"];
	$x_step077 = @$_POST["x_step077"];
	$x_step078 = @$_POST["x_step078"];
	$x_step079 = @$_POST["x_step079"];
	$x_step080 = @$_POST["x_step080"];
	$x_step081 = @$_POST["x_step081"];
	$x_step082 = @$_POST["x_step082"];
	$x_step083 = @$_POST["x_step083"];
	$x_step084 = @$_POST["x_step084"];
	$x_step085 = @$_POST["x_step085"];
	$x_step086 = @$_POST["x_step086"];
	$x_step087 = @$_POST["x_step087"];
	$x_step088 = @$_POST["x_step088"];
	$x_step089 = @$_POST["x_step089"];
	$x_step090 = @$_POST["x_step090"];
	$x_step091 = @$_POST["x_step091"];
	$x_step092 = @$_POST["x_step092"];
	$x_step093 = @$_POST["x_step093"];
	$x_step094 = @$_POST["x_step094"];
	$x_step095 = @$_POST["x_step095"];
	$x_step096 = @$_POST["x_step096"];
	$x_step097 = @$_POST["x_step097"];
	$x_step098 = @$_POST["x_step098"];
	$x_step099 = @$_POST["x_step099"];
	$x_step100 = @$_POST["x_step100"];
	$x_step101 = @$_POST["x_step101"];
	$x_step102 = @$_POST["x_step102"];
	$x_step103 = @$_POST["x_step103"];
	$x_step104 = @$_POST["x_step104"];
	$x_step105 = @$_POST["x_step105"];
	$x_step106 = @$_POST["x_step106"];
	$x_step107 = @$_POST["x_step107"];
	$x_step108 = @$_POST["x_step108"];
	$x_step109 = @$_POST["x_step109"];
	$x_step110 = @$_POST["x_step110"];
	$x_step111 = @$_POST["x_step111"];
	$x_step112 = @$_POST["x_step112"];
	$x_step113 = @$_POST["x_step113"];
	$x_step114 = @$_POST["x_step114"];
	$x_step115 = @$_POST["x_step115"];
	$x_step116 = @$_POST["x_step116"];
	$x_step117 = @$_POST["x_step117"];
	$x_step118 = @$_POST["x_step118"];
	$x_step119 = @$_POST["x_step119"];
	$x_step120 = @$_POST["x_step120"];
	$x_step121 = @$_POST["x_step121"];
	$x_step122 = @$_POST["x_step122"];
	$x_step123 = @$_POST["x_step123"];
	$x_step124 = @$_POST["x_step124"];
	$x_step125 = @$_POST["x_step125"];
	$x_step126 = @$_POST["x_step126"];
	$x_step127 = @$_POST["x_step127"];
	$x_step128 = @$_POST["x_step128"];
	$x_step129 = @$_POST["x_step129"];
	$x_step130 = @$_POST["x_step130"];
	$x_step131 = @$_POST["x_step131"];
	$x_step132 = @$_POST["x_step132"];
	$x_step133 = @$_POST["x_step133"];
	$x_step134 = @$_POST["x_step134"];
	$x_step135 = @$_POST["x_step135"];
	$x_step136 = @$_POST["x_step136"];
	$x_step137 = @$_POST["x_step137"];
	$x_step138 = @$_POST["x_step138"];
	$x_step139 = @$_POST["x_step139"];
	$x_step140 = @$_POST["x_step140"];
	$x_step141 = @$_POST["x_step141"];
	$x_step142 = @$_POST["x_step142"];
	$x_step143 = @$_POST["x_step143"];
	$x_step144 = @$_POST["x_step144"];
	$x_step145 = @$_POST["x_step145"];
	$x_step146 = @$_POST["x_step146"];
	$x_step147 = @$_POST["x_step147"];
	$x_step148 = @$_POST["x_step148"];
	$x_step149 = @$_POST["x_step149"];
	$x_step150 = @$_POST["x_step150"];
	$x_step151 = @$_POST["x_step151"];
	$x_step152 = @$_POST["x_step152"];
	$x_step153 = @$_POST["x_step153"];
	$x_step154 = @$_POST["x_step154"];
	$x_step155 = @$_POST["x_step155"];
	$x_step156 = @$_POST["x_step156"];
	$x_step157 = @$_POST["x_step157"];
	$x_step158 = @$_POST["x_step158"];
	$x_step159 = @$_POST["x_step159"];
	$x_step160 = @$_POST["x_step160"];
	$x_step161 = @$_POST["x_step161"];
	$x_step162 = @$_POST["x_step162"];
	$x_step163 = @$_POST["x_step163"];
	$x_step164 = @$_POST["x_step164"];
	$x_step165 = @$_POST["x_step165"];
	$x_step166 = @$_POST["x_step166"];
	$x_step167 = @$_POST["x_step167"];
	$x_step168 = @$_POST["x_step168"];
	$x_step169 = @$_POST["x_step169"];
	$x_step170 = @$_POST["x_step170"];
	$x_step171 = @$_POST["x_step171"];
	$x_step172 = @$_POST["x_step172"];
	$x_step173 = @$_POST["x_step173"];
	$x_step174 = @$_POST["x_step174"];
	$x_step175 = @$_POST["x_step175"];
	$x_step176 = @$_POST["x_step176"];
	$x_step177 = @$_POST["x_step177"];
	$x_step178 = @$_POST["x_step178"];
	$x_step179 = @$_POST["x_step179"];
	$x_step180 = @$_POST["x_step180"];
	$x_step181 = @$_POST["x_step181"];
	$x_step182 = @$_POST["x_step182"];
	$x_step183 = @$_POST["x_step183"];
	$x_step184 = @$_POST["x_step184"];
	$x_step185 = @$_POST["x_step185"];
	$x_step186 = @$_POST["x_step186"];
	$x_step187 = @$_POST["x_step187"];
	$x_step188 = @$_POST["x_step188"];
	$x_step189 = @$_POST["x_step189"];
	$x_step190 = @$_POST["x_step190"];
	$x_step191 = @$_POST["x_step191"];
	$x_step192 = @$_POST["x_step192"];
	$x_step193 = @$_POST["x_step193"];
	$x_step194 = @$_POST["x_step194"];
	$x_step195 = @$_POST["x_step195"];
	$x_step196 = @$_POST["x_step196"];
	$x_step197 = @$_POST["x_step197"];
	$x_step198 = @$_POST["x_step198"];
	$x_step199 = @$_POST["x_step199"];
	$x_step200 = @$_POST["x_step200"];
	$x_step201 = @$_POST["x_step201"];
	$x_step202 = @$_POST["x_step202"];
	$x_step203 = @$_POST["x_step203"];
	$x_step204 = @$_POST["x_step204"];
	$x_step205 = @$_POST["x_step205"];
	$x_step206 = @$_POST["x_step206"];
	$x_step207 = @$_POST["x_step207"];
	$x_step208 = @$_POST["x_step208"];
	$x_step209 = @$_POST["x_step209"];
	$x_step210 = @$_POST["x_step210"];
	$x_step211 = @$_POST["x_step211"];
	$x_step212 = @$_POST["x_step212"];
	$x_step213 = @$_POST["x_step213"];
	$x_step214 = @$_POST["x_step214"];
	$x_step215 = @$_POST["x_step215"];
	$x_step216 = @$_POST["x_step216"];
	$x_step217 = @$_POST["x_step217"];
	$x_step218 = @$_POST["x_step218"];
	$x_step219 = @$_POST["x_step219"];
	$x_step220 = @$_POST["x_step220"];
	$x_step221 = @$_POST["x_step221"];
	$x_step222 = @$_POST["x_step222"];
	$x_step223 = @$_POST["x_step223"];
	$x_step224 = @$_POST["x_step224"];
	$x_step225 = @$_POST["x_step225"];
	$x_step226 = @$_POST["x_step226"];
	$x_step227 = @$_POST["x_step227"];
	$x_step228 = @$_POST["x_step228"];
	$x_step229 = @$_POST["x_step229"];
	$x_step230 = @$_POST["x_step230"];
}
$conn = phpmkr_db_connect(HOST, USER, PASS, DB, PORT);
switch ($sAction) {
	case "C": // Copy record
		if (!LoadData($conn)) { // Load record
			$_SESSION[ewSessionMessage] = "No Records Found";
			phpmkr_db_close($conn);
			ob_end_clean();
			header("Location: ../MyProfile.php");
			exit();
		}
		break;
	case "A": // Add
		if (AddData($conn)) { // Add new record
			$_SESSION[ewSessionMessage] = "Paladin Epic Checklist Added to My Profile";
			phpmkr_db_close($conn);
			ob_end_clean();
			header("Location: ../MyProfile.php");
			exit();
		}
		break;
}
?>
<?php include ("../sources/header_lists.php") ?>
<script type="text/javascript">
<!--
EW_LookupFn = "../ewlookup.php"; // ewlookup file name
EW_AddOptFn = "../ewaddopt.php"; // ewaddopt.php file name

//-->
</script>
<script type="text/javascript" src="../ewp.js"></script>
<script type="text/javascript">
$(document).ready(function(){

        function visibleCheck() {
                var $this = $(this);
                var ul = $this.siblings("ul");
                if ($this.is(":checked"))
                        ul.hide("normal");
                else
                        ul.show("normal");
        }
        $(":checkbox")
                .click(visibleCheck)
                .each(visibleCheck);
});
</script>
<p>&nbsp;</p>
<form name="fchklist_paladd" id="fchklist_paladd" action="chklist_paladd.php" method="post">
<input type="hidden" name="a_add" value="A" />
<?php
if (@$_SESSION[ewSessionMessage] <> "") {
?>
<p><div class="ewmsg"><?php echo $_SESSION[ewSessionMessage]; ?></div></p>
<?php
	$_SESSION[ewSessionMessage] = ""; // Clear message
}
?>
<span class="chktitle">Paladin Epic Checklist</span>
<?php $x_pal_name = stripslashes($_SESSION[ewSessionUserName]); ?>
<input type="hidden" id="x_pal_name" name="x_pal_name" value="<?php echo @$x_pal_name; ?>" />
<ul>
	<li><input type="checkbox" name="x_step001" value="Y"<?php if ($x_step001 == "Y") { ?> checked<?php } ?> /> Pre-Quest 1.5
		<ul>
			<li><input type="checkbox" name="x_step002" value="Y"<?php if ($x_step002 == "Y") { ?> checked<?php } ?> />
			Part 1 - The Broken Sword
				<ul>
					<li><input type="checkbox" name="x_step003" value="Y"<?php if ($x_step003 == "Y") { ?> checked<?php } ?> />
					Talk to Baltron Werters (+630, +150 Plane of Valor)
						<ul>
							<li><input type="checkbox" name="x_step004" value="Y"<?php if ($x_step004 == "Y") { ?> checked<?php } ?> />
							Receive Baltron's Solvent
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step005" value="Y"<?php if ($x_step005 == "Y") { ?> checked<?php } ?> />
					Talk to Gilfal (-360, -2445 South Ro)
					</li>
					<li><input type="checkbox" name="x_step006" value="Y"<?php if ($x_step006 == "Y") { ?> checked<?php } ?> />
					Hand Solvent to Gilfal
						<ul>
							<li><input type="checkbox" name="x_step007" value="Y"<?php if ($x_step007 == "Y") { ?> checked<?php } ?> />
							Receive Gilfal's Scabbard (6 Slot container)
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step008" value="Y"<?php if ($x_step008 == "Y") { ?> checked<?php } ?> />
					Kill Neffiken, Lord of Kelek`Vor (Plane of Storms)
						<ul>
							<li><input type="checkbox" name="x_step009" value="Y"<?php if ($x_step009 == "Y") { ?> checked<?php } ?> />
							Loot Broken Sword Piece
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step010" value="Y"<?php if ($x_step010 == "Y") { ?> checked<?php } ?> />
					Kill Maestro of Rancor (Plane of Hate)
						<ul>
							<li><input type="checkbox" name="x_step011" value="Y"<?php if ($x_step011 == "Y") { ?> checked<?php } ?> />
							Loot Broken Sword Piece
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step012" value="Y"<?php if ($x_step012 == "Y") { ?> checked<?php } ?> />
					Kill Kaniz Painbringer (-1075, +900 Plane of Torment)
						<ul>
							<li><input type="checkbox" name="x_step013" value="Y"<?php if ($x_step013 == "Y") { ?> checked<?php } ?> />
							Loot Broken Sword Piece
							</li>
						</ul>
					</li>
				</ul>
			</li>
			<li><input type="checkbox" name="x_step014" value="Y"<?php if ($x_step014 == "Y") { ?> checked<?php } ?> />
			Part 2 - The 4 Runes
				<ul>
					<li><input type="checkbox" name="x_step015" value="Y"<?php if ($x_step015 == "Y") { ?> checked<?php } ?> />
					Talk to Rombus (LDoN adventure camp - Everfrost Peaks)
					</li>
					<li><input type="checkbox" name="x_step016" value="Y"<?php if ($x_step016 == "Y") { ?> checked<?php } ?> />
					Collect 4 Runes (Ground Spawns)
						<ul>
							<li><input type="checkbox" name="x_step017" value="Y"<?php if ($x_step017 == "Y") { ?> checked<?php } ?> />
							Rune of Xor (-565, +220 Plane of Tranquility)
							</li>
							<li><input type="checkbox" name="x_step018" value="Y"<?php if ($x_step018 == "Y") { ?> checked<?php } ?> />
							Rune of Yirno (+10, +410 Mistmoore Castle)
							</li>
							<li><input type="checkbox" name="x_step019" value="Y"<?php if ($x_step019 == "Y") { ?> checked<?php } ?> />
							Rune Wilun (-850, -950 Gulf of Gunthak)
							</li>
							<li><input type="checkbox" name="x_step020" value="Y"<?php if ($x_step020 == "Y") { ?> checked<?php } ?> />
							Rune of Zota (+625, -1000 Scarlet Desert)
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step021" value="Y"<?php if ($x_step021 == "Y") { ?> checked<?php } ?> />
					Hand 4 Runes to Rombus
						<ul>
							<li><input type="checkbox" name="x_step022" value="Y"<?php if ($x_step022 == "Y") { ?> checked<?php } ?> />
							Receive Broken Sword Piece
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step023" value="Y"<?php if ($x_step023 == "Y") { ?> checked<?php } ?> />
					Combine in Gilfal's Scabbard: 4 pieces + the solvent
						<ul>
							<li><input type="checkbox" name="x_step024" value="Y"<?php if ($x_step024 == "Y") { ?> checked<?php } ?> />
							Receive Fractured Couragebringer
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step025" value="Y"<?php if ($x_step025 == "Y") { ?> checked<?php } ?> />
					Give Fractured Couragebringer ti Baltron Werters (Plane of Valor)
						<ul>
							<li><input type="checkbox" name="x_step026" value="Y"<?php if ($x_step026 == "Y") { ?> checked<?php } ?> />
							Receive Couragebringer
							</li>
						</ul>
					</li>
				</ul>
			</li>
		</ul>
	</li>
	<li><input type="checkbox" name="x_step027" value="Y"<?php if ($x_step027 == "Y") { ?> checked<?php } ?> /> 1.5
		<ul>
			<li><input type="checkbox" name="x_step028" value="Y"<?php if ($x_step028 == "Y") { ?> checked<?php } ?> />
			Part 1 - An Iskar's Note
				<ul>
					<li><input type="checkbox" name="x_step029" value="Y"<?php if ($x_step029 == "Y") { ?> checked<?php } ?> />
					Talk to Irak Altil (+5, -1365, +25 Halls of Honor)
					</li>
					<li><input type="checkbox" name="x_step030" value="Y"<?php if ($x_step030 == "Y") { ?> checked<?php } ?> />
					Talk to Enic Ruklin (Roams around the pond at the Temple of Life - North Qeynos)
					</li>
					<li><input type="checkbox" name="x_step031" value="Y"<?php if ($x_step031 == "Y") { ?> checked<?php } ?> />
					Talk to Brunar Rankin (-100, -1015 East Freeport)
						<ul>
							<li><input type="checkbox" name="x_step032" value="Y"<?php if ($x_step032 == "Y") { ?> checked<?php } ?> />
							Receive An Iksar's Note
							</li>
						</ul>
					</li>
				</ul>
			</li>
			<li><input type="checkbox" name="x_step033" value="Y"<?php if ($x_step033 == "Y") { ?> checked<?php } ?> />
			Part 2 - Fish Hearts (Need 100 Fishing)
				<ul>
					<li><input type="checkbox" name="x_step034" value="Y"<?php if ($x_step034 == "Y") { ?> checked<?php } ?> />
					Fish at each given fishing spot until you get following message
						<ul>
							<li><input type="checkbox" name="x_step035" value="Y"<?php if ($x_step035 == "Y") { ?> checked<?php } ?> />
							As you reel in the dark fish's scale, you notice a large fish in the water (Spawns A Corrupted Koalindl)
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step036" value="Y"<?php if ($x_step036 == "Y") { ?> checked<?php } ?> />
					First fishing spot (+265, -9195 Ocean of Tears)
						<ul>
							<li><input type="checkbox" name="x_step037" value="Y"<?php if ($x_step037 == "Y") { ?> checked<?php } ?> />
							Kill A Corrupted Koalindl
								<ul>
									<li><input type="checkbox" name="x_step038" value="Y"<?php if ($x_step038 == "Y") { ?> checked<?php } ?> />
									Loot A Corrupted Koalindl's Heart
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step039" value="Y"<?php if ($x_step039 == "Y") { ?> checked<?php } ?> />
					Second fishing spot (+3800, -2000 Overthere)
						<ul>
							<li><input type="checkbox" name="x_step040" value="Y"<?php if ($x_step040 == "Y") { ?> checked<?php } ?> />
							Kill A Corrupted Koalindl
								<ul>
									<li><input type="checkbox" name="x_step041" value="Y"<?php if ($x_step041 == "Y") { ?> checked<?php } ?> />
									Loot A Corrupted Koalindl's Heart
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step042" value="Y"<?php if ($x_step042 == "Y") { ?> checked<?php } ?> />
					Third Fishing spot (Loc?? Gulf of Gunthak)
						<ul>
							<li><input type="checkbox" name="x_step043" value="Y"<?php if ($x_step043 == "Y") { ?> checked<?php } ?> />
							Kill A Corrupted Koalindl
								<ul>
									<li><input type="checkbox" name="x_step044" value="Y"<?php if ($x_step044 == "Y") { ?> checked<?php } ?> />
									Loot A Corrupted Koalindl's Heart
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step045" value="Y"<?php if ($x_step045 == "Y") { ?> checked<?php } ?> />
					Fourth Fishing spot (Loc?? Nedaria's Landing)
						<ul>
							<li><input type="checkbox" name="x_step046" value="Y"<?php if ($x_step046 == "Y") { ?> checked<?php } ?> />
							Kill A Corrupted Koalindl
								<ul>
									<li><input type="checkbox" name="x_step047" value="Y"<?php if ($x_step047 == "Y") { ?> checked<?php } ?> />
									Loot A Corrupted Koalindl's Heart
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step048" value="Y"<?php if ($x_step048 == "Y") { ?> checked<?php } ?> />
					Give the 4 hearts to Enic Ruklin (North Qeynos)
						<ul>
							<li><input type="checkbox" name="x_step049" value="Y"<?php if ($x_step049 == "Y") { ?> checked<?php } ?> />
							Receive a Seal of Enic
							</li>
						</ul>
					</li>
				</ul>
			</li>
			<li><input type="checkbox" name="x_step050" value="Y"<?php if ($x_step050 == "Y") { ?> checked<?php } ?> />
			Part 3 - Soulstones
				<ul>
					<li><input type="checkbox" name="x_step051" value="Y"<?php if ($x_step051 == "Y") { ?> checked<?php } ?> />
					Rithnok's Soulstone
						<ul>
							<li><input type="checkbox" name="x_step052" value="Y"<?php if ($x_step052 == "Y") { ?> checked<?php } ?> />
							Talk to Dry Sapara (Loc?? Skyfire Mountains) (Spawns Rithnok)
								<ul>
									<li><input type="checkbox" name="x_step053" value="Y"<?php if ($x_step053 == "Y") { ?> checked<?php } ?> />
									Kill Rithnok
										<ul>
											<li><input type="checkbox" name="x_step054" value="Y"<?php if ($x_step054 == "Y") { ?> checked<?php } ?> />
											Loot Rithnok's Soulstone
											</li>
										</ul>
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step055" value="Y"<?php if ($x_step055 == "Y") { ?> checked<?php } ?> />
							Hand soulstone to Dry Sapara
								<ul>
									<li><input type="checkbox" name="x_step056" value="Y"<?php if ($x_step056 == "Y") { ?> checked<?php } ?> />
									Receive Rithnok's Soulstone (4 Slot Container)
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step057" value="Y"<?php if ($x_step057 == "Y") { ?> checked<?php } ?> />
							Collect 4 Shards
								<ul>
									<li><input type="checkbox" name="x_step058" value="Y"<?php if ($x_step058 == "Y") { ?> checked<?php } ?> />
									First shard (+1000, +100 Dranik's Scar)
									</li>
									<li><input type="checkbox" name="x_step059" value="Y"<?php if ($x_step059 == "Y") { ?> checked<?php } ?> />
									Second shard (+450, +730 Bloodfields)
									</li>
									<li><input type="checkbox" name="x_step060" value="Y"<?php if ($x_step060 == "Y") { ?> checked<?php } ?> />
									Third Shard (-900, -350 Noble's Causeway)
									</li>
									<li><input type="checkbox" name="x_step061" value="Y"<?php if ($x_step061 == "Y") { ?> checked<?php } ?> />
									Fourth Shard (-500, +360 Ruins of Dranik)
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step062" value="Y"<?php if ($x_step062 == "Y") { ?> checked<?php } ?> />
							Combine in Rithnok's Soulstone: 4 shards
								<ul>
									<li><input type="checkbox" name="x_step063" value="Y"<?php if ($x_step063 == "Y") { ?> checked<?php } ?> />
									Receive Rithnok's Soulstone
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step064" value="Y"<?php if ($x_step064 == "Y") { ?> checked<?php } ?> />
					Drema's Soulstone
						<ul>
							<li><input type="checkbox" name="x_step065" value="Y"<?php if ($x_step065 == "Y") { ?> checked<?php } ?> />
							Talk to Mikhal Young (+1340, -1285 Dawnshroud Peaks)
								<ul>
									<li><input type="checkbox" name="x_step066" value="Y"<?php if ($x_step066 == "Y") { ?> checked<?php } ?> />
									Receive Drema's Locket
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step067" value="Y"<?php if ($x_step067 == "Y") { ?> checked<?php } ?> />
							Give locket to Drema Young (+835, -1280 Mons Letalis)
								<ul>
									<li><input type="checkbox" name="x_step068" value="Y"<?php if ($x_step068 == "Y") { ?> checked<?php } ?> />
									Receive Drema's Fingerbone
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step069" value="Y"<?php if ($x_step069 == "Y") { ?> checked<?php } ?> />
							Give Drema's Fingerbone to Mikhal Young (Dawnshroud Peaks)
								<ul>
									<li><input type="checkbox" name="x_step070" value="Y"<?php if ($x_step070 == "Y") { ?> checked<?php } ?> />
									Receive Drema's Fingerbone
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step071" value="Y"<?php if ($x_step071 == "Y") { ?> checked<?php } ?> />
							Give Drema's Fingerbone Denns Rootenpaw
								<ul>
									<li><input type="checkbox" name="x_step072" value="Y"<?php if ($x_step072 == "Y") { ?> checked<?php } ?> />
									Receive A Bone Collector's Bag (4 Slot Container)
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step073" value="Y"<?php if ($x_step073 == "Y") { ?> checked<?php } ?> />
							Collect 3 Dark Skeleton Remains
								<ul>
									<li><input type="checkbox" name="x_step074" value="Y"<?php if ($x_step074 == "Y") { ?> checked<?php } ?> />
									Kill Disturbed Elysian Remains (The Umbral Plains)
										<ul>
											<li><input type="checkbox" name="x_step075" value="Y"<?php if ($x_step075 == "Y") { ?> checked<?php } ?> />
											Loot Dark Skeleton Remains
											</li>
										</ul>
									</li>
									<li><input type="checkbox" name="x_step076" value="Y"<?php if ($x_step076 == "Y") { ?> checked<?php } ?> />
									Kill Any Soriz skeleton (Ssraeshza Temple)
										<ul>
											<li><input type="checkbox" name="x_step077" value="Y"<?php if ($x_step077 == "Y") { ?> checked<?php } ?> />
											Loot Dark Skeleton Remains
											</li>
										</ul>
									</li>
									<li><input type="checkbox" name="x_step078" value="Y"<?php if ($x_step078 == "Y") { ?> checked<?php } ?> />
									Kill a sun revenant (The Grey)
										<ul>
											<li><input type="checkbox" name="x_step079" value="Y"<?php if ($x_step079 == "Y") { ?> checked<?php } ?> />
											Loot Dark Skeleton Remains
											</li>
										</ul>
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step080" value="Y"<?php if ($x_step080 == "Y") { ?> checked<?php } ?> />
							Combine in A Bone Collector's Bag: the 3 remains
								<ul>
									<li><input type="checkbox" name="x_step081" value="Y"<?php if ($x_step081 == "Y") { ?> checked<?php } ?> />
									Receive A Bone Collector's Bag
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step082" value="Y"<?php if ($x_step082 == "Y") { ?> checked<?php } ?> />
							Give Bag to Denns Rootenpaw
								<ul>
									<li><input type="checkbox" name="x_step083" value="Y"<?php if ($x_step083 == "Y") { ?> checked<?php } ?> />
									Receive Enchanted Bone Powder
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step084" value="Y"<?php if ($x_step084 == "Y") { ?> checked<?php } ?> />
							Give Enchanted Bone Powder to Drema Young
								<ul>
									<li><input type="checkbox" name="x_step085" value="Y"<?php if ($x_step085 == "Y") { ?> checked<?php } ?> />
									Kill Drema
										<ul>
											<li><input type="checkbox" name="x_step086" value="Y"<?php if ($x_step086 == "Y") { ?> checked<?php } ?> />
											Loot Drema's Soulstone (2 Slot Container)
											</li>
										</ul>
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step087" value="Y"<?php if ($x_step087 == "Y") { ?> checked<?php } ?> />
							Kill Coterie Corruptor (The Tenebrous Mountains)
								<ul>
									<li><input type="checkbox" name="x_step088" value="Y"<?php if ($x_step088 == "Y") { ?> checked<?php } ?> />
									Loot A Soulstone Shard
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step089" value="Y"<?php if ($x_step089 == "Y") { ?> checked<?php } ?> />
							Kill Shade of Mujaki the Devourer (Plane of Nightmare)
								<ul>
									<li><input type="checkbox" name="x_step090" value="Y"<?php if ($x_step090 == "Y") { ?> checked<?php } ?> />
									Loot A Soulstone Shard
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step091" value="Y"<?php if ($x_step091 == "Y") { ?> checked<?php } ?> />
							Combine in Drema's Soulstone: 2 soulstone shards
								<ul>
									<li><input type="checkbox" name="x_step092" value="Y"<?php if ($x_step092 == "Y") { ?> checked<?php } ?> />
									Receive Drema's Soulstone
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step093" value="Y"<?php if ($x_step093 == "Y") { ?> checked<?php } ?> />
					Reiya's Soulstone
						<ul>
							<li><input type="checkbox" name="x_step094" value="Y"<?php if ($x_step094 == "Y") { ?> checked<?php } ?> />
							Talk to Lovine Lemise (-185, +195, +130 Abysmal Sea)
								<ul>
									<li><input type="checkbox" name="x_step095" value="Y"<?php if ($x_step095 == "Y") { ?> checked<?php } ?> />
									Receive Lovine's Potion Bag
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step096" value="Y"<?php if ($x_step096 == "Y") { ?> checked<?php } ?> />
							Kill an entrapped potameid (Natimbi)
								<ul>
									<li><input type="checkbox" name="x_step097" value="Y"<?php if ($x_step097 == "Y") { ?> checked<?php } ?> />
									Loot Potameid Seaweed Strands
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step098" value="Y"<?php if ($x_step098 == "Y") { ?> checked<?php } ?> />
							Kill a noc fleshfeaster (Riwwi)
								<ul>
									<li><input type="checkbox" name="x_step099" value="Y"<?php if ($x_step099 == "Y") { ?> checked<?php } ?> />
									Loot Noc Fleshfeasters Tail
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step100" value="Y"<?php if ($x_step100 == "Y") { ?> checked<?php } ?> />
							Kill a mastruq havocblade (Qinimi)
								<ul>
									<li><input type="checkbox" name="x_step101" value="Y"<?php if ($x_step101 == "Y") { ?> checked<?php } ?> />
									Loot Mastruq Havocblade Blood
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step102" value="Y"<?php if ($x_step102 == "Y") { ?> checked<?php } ?> />
							Kill a ra`tuk screambringer (Barindu)
								<ul>
									<li><input type="checkbox" name="x_step103" value="Y"<?php if ($x_step103 == "Y") { ?> checked<?php } ?> />
									Loot Ra`Tuk Screambringer's Jaw
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step104" value="Y"<?php if ($x_step104 == "Y") { ?> checked<?php } ?> />
							Combine in Lovine's Potion Bag: the above 4 items
								<ul>
									<li><input type="checkbox" name="x_step105" value="Y"<?php if ($x_step105 == "Y") { ?> checked<?php } ?> />
									Receive Lovine's Potion Bag
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step106" value="Y"<?php if ($x_step106 == "Y") { ?> checked<?php } ?> />
							Hand  Lovine's Potion Bag to Lovine Lemise (Abysmal Sea)
							</li>
							<li><input type="checkbox" name="x_step107" value="Y"<?php if ($x_step107 == "Y") { ?> checked<?php } ?> />
							Craft or buy: Mist of the Breathless (Alchemy)
							</li>
							<li><input type="checkbox" name="x_step108" value="Y"<?php if ($x_step108 == "Y") { ?> checked<?php } ?> />
							Give Mist of the Breathless to Reiya the Pained (Loc?? Abysmal Sea)
								<ul>
									<li><input type="checkbox" name="x_step109" value="Y"<?php if ($x_step109 == "Y") { ?> checked<?php } ?> />
									Receive Reiya's Soulstone (2 Slot Container)
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step110" value="Y"<?php if ($x_step110 == "Y") { ?> checked<?php } ?> />
							Kill Shade of Reiya the Pained (Loc?? Ferubi)
								<ul>
									<li><input type="checkbox" name="x_step111" value="Y"<?php if ($x_step111 == "Y") { ?> checked<?php } ?> />
									Loot A Soulstone Shard
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step112" value="Y"<?php if ($x_step112 == "Y") { ?> checked<?php } ?> />
							Talk to Apprentice Udranda (+255, -750 Barindu)
							</li>
							<li><input type="checkbox" name="x_step113" value="Y"<?php if ($x_step113 == "Y") { ?> checked<?php } ?> />
							Vxed Raid Instance
								<ul>
									<li><input type="checkbox" name="x_step114" value="Y"<?php if ($x_step114 == "Y") { ?> checked<?php } ?> />
									Kill Vuranish Xxuro
										<ul>
											<li><input type="checkbox" name="x_step115" value="Y"<?php if ($x_step115 == "Y") { ?> checked<?php } ?> />
											Loot A Soulstone Shard
											</li>
										</ul>
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step116" value="Y"<?php if ($x_step116 == "Y") { ?> checked<?php } ?> />
							Combine in Reiya's Soulstone: 2 shards
								<ul>
									<li><input type="checkbox" name="x_step117" value="Y"<?php if ($x_step117 == "Y") { ?> checked<?php } ?> />
									Receive Reiya's Soulstone
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step118" value="Y"<?php if ($x_step118 == "Y") { ?> checked<?php } ?> />
					Redis' Soulstone
						<ul>
							<li><input type="checkbox" name="x_step119" value="Y"<?php if ($x_step119 == "Y") { ?> checked<?php } ?> />
							Talk to Irak Altil for flag (Halls of Honor)
							</li>
							<li><input type="checkbox" name="x_step120" value="Y"<?php if ($x_step120 == "Y") { ?> checked<?php } ?> />
							Set up group at entrance to sewers (Loc?? Ruined City of Dranik)
								<ul>
									<li><input type="checkbox" name="x_step121" value="Y"<?php if ($x_step121 == "Y") { ?> checked<?php } ?> />
									Obtain instance from Redis Linrok the Suffering (+845, -225 Nedaria's Landing)
									</li>
									<li><input type="checkbox" name="x_step122" value="Y"<?php if ($x_step122 == "Y") { ?> checked<?php } ?> />
									Kill Redis
										<ul>
											<li><input type="checkbox" name="x_step123" value="Y"<?php if ($x_step123 == "Y") { ?> checked<?php } ?> />
											Loot Redis' Soulstone
											</li>
										</ul>
									</li>
								</ul>
							</li>
						</ul>
					</li>
				</ul>
			</li>
			<li><input type="checkbox" name="x_step124" value="Y"<?php if ($x_step124 == "Y") { ?> checked<?php } ?> />
			Part 4 - An End to the Pain
				<ul>
					<li><input type="checkbox" name="x_step125" value="Y"<?php if ($x_step125 == "Y") { ?> checked<?php } ?> />
					Kill Durunal the Cursebearer (Wall of Slaughter)
						<ul>
							<li><input type="checkbox" name="x_step126" value="Y"<?php if ($x_step126 == "Y") { ?> checked<?php } ?> />
							Loot A Dark and Twisted Sword
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step127" value="Y"<?php if ($x_step127 == "Y") { ?> checked<?php } ?> />
					Give A Dark and Twisted Sword to Irak Altil (Halls of Honor)
						<ul>
							<li><input type="checkbox" name="x_step128" value="Y"<?php if ($x_step128 == "Y") { ?> checked<?php } ?> />
							Receive A Dark and Twisted Sword (4 Slot Container)
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step129" value="Y"<?php if ($x_step129 == "Y") { ?> checked<?php } ?> />
					Combine in the A Dark and Twisted Sword: the 4 soulstones
						<ul>
							<li><input type="checkbox" name="x_step130" value="Y"<?php if ($x_step130 == "Y") { ?> checked<?php } ?> />
							Receive Redemption (1.5)
							</li>
						</ul>
					</li>
				</ul>
			</li>
		</ul>
	</li>
		<li><input type="checkbox" name="x_step131" value="Y"<?php if ($x_step131 == "Y") { ?> checked<?php } ?> />2.0
		<ul>
			<li><input type="checkbox" name="x_step132" value="Y"<?php if ($x_step132 == "Y") { ?> checked<?php } ?> />
			Part 1 - Rite of Cleansing (This Rite may be done at any time)
				<ul>
					<li><input type="checkbox" name="x_step133" value="Y"<?php if ($x_step133 == "Y") { ?> checked<?php } ?> />
					Talk to Irak Altil (Halls of Honor)
					</li>
					<li><input type="checkbox" name="x_step134" value="Y"<?php if ($x_step134 == "Y") { ?> checked<?php } ?> />
					Talk to Galrun Starforge outside the Paladin guild (+45, -210 Northern Felwithe)
						<ul>
							<li><input type="checkbox" name="x_step135" value="Y"<?php if ($x_step135 == "Y") { ?> checked<?php } ?> />
							Receive Galrun's bag (4 Slot Container)
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step136" value="Y"<?php if ($x_step136 == "Y") { ?> checked<?php } ?> />
					Talk to Guard Highmoon (Loc?? Greater Faydark)
					</li>
					<li><input type="checkbox" name="x_step137" value="Y"<?php if ($x_step137 == "Y") { ?> checked<?php } ?> />
					Head to the dark elf (Teir`Dal) camp (-900, +1110 Lesser Faydark)
						<ul>
							<li><input type="checkbox" name="x_step138" value="Y"<?php if ($x_step138 == "Y") { ?> checked<?php } ?> />
							Grab Teir`Dal Blood Pact as ground spawn inside tent OR kill dark elves for one
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step139" value="Y"<?php if ($x_step139 == "Y") { ?> checked<?php } ?> />
					Talk to Guard Mandin (Loc?? Butcherblock Mountains)
					</li>
					<li><input type="checkbox" name="x_step140" value="Y"<?php if ($x_step140 == "Y") { ?> checked<?php } ?> />
					Near the chessboard area, there is a small hut, around 7 PM Spawns KoS version
						<ul>
							<li><input type="checkbox" name="x_step141" value="Y"<?php if ($x_step141 == "Y") { ?> checked<?php } ?> />
							Kill Signus Boran
								<ul>
									<li><input type="checkbox" name="x_step142" value="Y"<?php if ($x_step142 == "Y") { ?> checked<?php } ?> />
									Loot Signus' Vampire Fangs
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step143" value="Y"<?php if ($x_step143 == "Y") { ?> checked<?php } ?> />
					Talk to Guard Fayfear near the orc lift (Loc?? Greater Faydark)
					</li>
					<li><input type="checkbox" name="x_step144" value="Y"<?php if ($x_step144 == "Y") { ?> checked<?php } ?> />
					Kill Orc Messenger (Loc?? Crushbone)
						<ul>
							<li><input type="checkbox" name="x_step145" value="Y"<?php if ($x_step145 == "Y") { ?> checked<?php } ?> />
							Loot Orcish Battle Plans
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step146" value="Y"<?php if ($x_step146 == "Y") { ?> checked<?php } ?> />
					Talk to Bigilam Wantilans near the entrance to Ak'Anon (Loc?? Steamfont Mountains)
						<ul>
							<li><input type="checkbox" name="x_step147" value="Y"<?php if ($x_step147 == "Y") { ?> checked<?php } ?> />
							Give Bigilam a Mana Battery - Class Six
								<ul>
									<li><input type="checkbox" name="x_step148" value="Y"<?php if ($x_step148 == "Y") { ?> checked<?php } ?> />
									Receive A Slain Vampire's Heart
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step149" value="Y"<?php if ($x_step149 == "Y") { ?> checked<?php } ?> />
					Combine in Galrun's bag: Teir`Dal Blood Pact + Signus' Vampire Fangs + Orcish Battle Plans + A Slain Vampire's Heart
						<ul>
							<li><input type="checkbox" name="x_step150" value="Y"<?php if ($x_step150 == "Y") { ?> checked<?php } ?> />
							Receive Galrun's bag (non-container)
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step151" value="Y"<?php if ($x_step151 == "Y") { ?> checked<?php } ?> />
					Hand Galrun's bag to Galrun Starforge (Northern Felwithe)
					</li>
					<li><input type="checkbox" name="x_step152" value="Y"<?php if ($x_step152 == "Y") { ?> checked<?php } ?> />
					Mistmoore Catacombs Instance (10 to 54 people)
						<ul>
							<li><input type="checkbox" name="x_step153" value="Y"<?php if ($x_step153 == "Y") { ?> checked<?php } ?> />
							Kill Valdoon Kel`Novar
								<ul>
									<li><input type="checkbox" name="x_step154" value="Y"<?php if ($x_step154 == "Y") { ?> checked<?php } ?> />
									Loot Valdoon Kel`Novar's Heart
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step155" value="Y"<?php if ($x_step155 == "Y") { ?> checked<?php } ?> />
					Give heart to Galrun
						<ul>
							<li><input type="checkbox" name="x_step156" value="Y"<?php if ($x_step156 == "Y") { ?> checked<?php } ?> />
							Receive a Token of Cleansing
							</li>
						</ul>
					</li>
				</ul>
			</li>
			<li><input type="checkbox" name="x_step157" value="Y"<?php if ($x_step157 == "Y") { ?> checked<?php } ?> />
			Part 2 - Rite of Compassion (This Rite may be done at any time)
				<ul>
					<li><input type="checkbox" name="x_step158" value="Y"<?php if ($x_step158 == "Y") { ?> checked<?php } ?> />
					Talk to Kemik Arulon in a tent in the Wayfarers camp on the beach (Loc?? Natimbi)
					</li>
					<li><input type="checkbox" name="x_step159" value="Y"<?php if ($x_step159 == "Y") { ?> checked<?php } ?> />
					Talk to Camlend Serbold inside the "flying saucer" (Loc?? Temple of Life in North Qeynos)
						<ul>
							<li><input type="checkbox" name="x_step160" value="Y"<?php if ($x_step160 == "Y") { ?> checked<?php } ?> />
							Receive An Unfilled Set of Prayer Beads (6 Slot Container)
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step161" value="Y"<?php if ($x_step161 == "Y") { ?> checked<?php } ?> />
					Talk to Ziska Ironforge (Loc??)
						<ul>
							<li><input type="checkbox" name="x_step162" value="Y"<?php if ($x_step162 == "Y") { ?> checked<?php } ?> />
							Give Ziska 500pp
								<ul>
									<li><input type="checkbox" name="x_step163" value="Y"<?php if ($x_step163 == "Y") { ?> checked<?php } ?> />
									Receive a Qeynos Prayer Bead
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step164" value="Y"<?php if ($x_step164 == "Y") { ?> checked<?php } ?> />
					Talk to Arem Ulosia in the Temple of Marr (Loc?? North Freeport)
						<ul>
							<li><input type="checkbox" name="x_step165" value="Y"<?php if ($x_step165 == "Y") { ?> checked<?php } ?> />
							Head upstairs to the very top floor
								<ul>
									<li><input type="checkbox" name="x_step166" value="Y"<?php if ($x_step166 == "Y") { ?> checked<?php } ?> />
									Grab a Freeport Prayer Bead from the top of a desk in a room (+135, +385)
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step167" value="Y"<?php if ($x_step167 == "Y") { ?> checked<?php } ?> />
					Talk to General Jyleel downstairs from the Paladin guild in a side room (Loc?? Northern Felwithe)
						<ul>
							<li><input type="checkbox" name="x_step168" value="Y"<?php if ($x_step168 == "Y") { ?> checked<?php } ?> />
							Give him 1000pp
								<ul>
									<li><input type="checkbox" name="x_step169" value="Y"<?php if ($x_step169 == "Y") { ?> checked<?php } ?> />
									Receive a Felwithe Prayer Bead
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step170" value="Y"<?php if ($x_step170 == "Y") { ?> checked<?php } ?> />
							Give him 500pp more
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step171" value="Y"<?php if ($x_step171 == "Y") { ?> checked<?php } ?> />
					Talk to Datur Nightseer, a paladin guildmaster (Loc?? North Kaladim)
						<ul>
							<li><input type="checkbox" name="x_step172" value="Y"<?php if ($x_step172 == "Y") { ?> checked<?php } ?> />
							Give him A Bottle of Double Brewed Double Dry Stout (brewing, trivial 226)
								<ul>
									<li><input type="checkbox" name="x_step173" value="Y"<?php if ($x_step173 == "Y") { ?> checked<?php } ?> />
									Receive a Kaladim Prayer Bead
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step174" value="Y"<?php if ($x_step174 == "Y") { ?> checked<?php } ?> />
					Talk to Shin Master Grubbus, a paladin guildmaster (Loc?? Mountains of Rathe)
						<ul>
							<li><input type="checkbox" name="x_step175" value="Y"<?php if ($x_step175 == "Y") { ?> checked<?php } ?> />
							Hand Grubbus a Quiver of Marr (Summoned by Magicians)
								<ul>
									<li><input type="checkbox" name="x_step176" value="Y"<?php if ($x_step176 == "Y") { ?> checked<?php } ?> />
									Receive a Gukta Prayer Bead
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step177" value="Y"<?php if ($x_step177 == "Y") { ?> checked<?php } ?> />
					Talk to Reklon Gnallen, a paladin guildmaster in the Temple of Prexus (Loc?? Erudin)
						<ul>
							<li><input type="checkbox" name="x_step178" value="Y"<?php if ($x_step178 == "Y") { ?> checked<?php } ?> />
							Go to Erudin Surplus store: buy an iron ration and a bottle of mead
							</li>
							<li><input type="checkbox" name="x_step179" value="Y"<?php if ($x_step179 == "Y") { ?> checked<?php } ?> />
							Hand iron ration and bottle of med to Reklon
								<ul>
									<li><input type="checkbox" name="x_step180" value="Y"<?php if ($x_step180 == "Y") { ?> checked<?php } ?> />
									Receive an Erudin Prayer Bead
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step181" value="Y"<?php if ($x_step181 == "Y") { ?> checked<?php } ?> />
					Lewis Reldnok, a paladin guildmaster (Loc?? Ak'Anon)
						<ul>
							<li><input type="checkbox" name="x_step182" value="Y"<?php if ($x_step182 == "Y") { ?> checked<?php } ?> />
							Sit down
								<ul>
									<li><input type="checkbox" name="x_step183" value="Y"<?php if ($x_step183 == "Y") { ?> checked<?php } ?> />
									Receive an Ak`anon Prayer Bead
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step184" value="Y"<?php if ($x_step184 == "Y") { ?> checked<?php } ?> />
					Talk to Kaya Cloudfoot, a paladin guildmaster (Loc?? Rivervale)
						<ul>
							<li><input type="checkbox" name="x_step185" value="Y"<?php if ($x_step185 == "Y") { ?> checked<?php } ?> />
							Receive a Note from Kaya
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step186" value="Y"<?php if ($x_step186 == "Y") { ?> checked<?php } ?> />
					Give note to Deputy Cheel inside the bank (Loc??)
						<ul>
							<li><input type="checkbox" name="x_step187" value="Y"<?php if ($x_step187 == "Y") { ?> checked<?php } ?> />
							Receive a Rivervale Prayer Bead
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step188" value="Y"<?php if ($x_step188 == "Y") { ?> checked<?php } ?> />
					Combine in An Unfilled Set of Prayer Beads: the six beads
						<ul>
							<li><input type="checkbox" name="x_step189" value="Y"<?php if ($x_step189 == "Y") { ?> checked<?php } ?> />
							Receive A Set of Prayer Beads
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step190" value="Y"<?php if ($x_step190 == "Y") { ?> checked<?php } ?> />
					Hand A Set of Prayer Beads to Kemik (Natimbi)
						<ul>
							<li><input type="checkbox" name="x_step191" value="Y"<?php if ($x_step191 == "Y") { ?> checked<?php } ?> />
							Receive A Set of Prayer Beads
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step192" value="Y"<?php if ($x_step192 == "Y") { ?> checked<?php } ?> />
					Group Dranik's Hollows C (Instance)
						<ul>
							<li><input type="checkbox" name="x_step193" value="Y"<?php if ($x_step193 == "Y") { ?> checked<?php } ?> />
							Kill Muridae the Plagued
								<ul>
									<li><input type="checkbox" name="x_step194" value="Y"<?php if ($x_step194 == "Y") { ?> checked<?php } ?> />
									Anetal appears on the ground behind where Muridae spawned
									</li>
									<li><input type="checkbox" name="x_step195" value="Y"<?php if ($x_step195 == "Y") { ?> checked<?php } ?> />
									Give A Set of Prayer Beads to Muridae
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step196" value="Y"<?php if ($x_step196 == "Y") { ?> checked<?php } ?> />
					Talk to Kemik (Natimbi)
						<ul>
							<li><input type="checkbox" name="x_step197" value="Y"<?php if ($x_step197 == "Y") { ?> checked<?php } ?> />
							Receive a Token of Compassion
							</li>
						</ul>
					</li>
				</ul>
			</li>
			<li><input type="checkbox" name="x_step198" value="Y"<?php if ($x_step198 == "Y") { ?> checked<?php } ?> />
			Part 3 - Rite of Chivalry (Must Complete Rite of Compassion First)
				<ul>
					<li><input type="checkbox" name="x_step199" value="Y"<?php if ($x_step199 == "Y") { ?> checked<?php } ?> />
					Talk to Instructor Maerceci (135, -310 Southern Desert of Ro)
						<ul>
							<li><input type="checkbox" name="x_step200" value="Y"<?php if ($x_step200 == "Y") { ?> checked<?php } ?> />
							Gather a raid, buff up, and head to the northwest corner of the zone
							</li>
							<li><input type="checkbox" name="x_step201" value="Y"<?php if ($x_step201 == "Y") { ?> checked<?php } ?> />
							Keelee Rayin is lying on the ground near one of the LDoN entrances (+1490, +1310)
							</li>
							<li><input type="checkbox" name="x_step202" value="Y"<?php if ($x_step202 == "Y") { ?> checked<?php } ?> />
							Hail her to trigger ring event
								<ul>
									<li><input type="checkbox" name="x_step203" value="Y"<?php if ($x_step203 == "Y") { ?> checked<?php } ?> />
									Once dead they respawn at the orc camp
									</li>
								</ul>
							</li>
							<li><input type="checkbox" name="x_step204" value="Y"<?php if ($x_step204 == "Y") { ?> checked<?php } ?> />
							Hail, Keelee
								<ul>
									<li><input type="checkbox" name="x_step205" value="Y"<?php if ($x_step205 == "Y") { ?> checked<?php } ?> />
									Receive Keelee's Brooch
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step206" value="Y"<?php if ($x_step206 == "Y") { ?> checked<?php } ?> />
					Give brooch to Instructor Maerceci
						<ul>
							<li><input type="checkbox" name="x_step207" value="Y"<?php if ($x_step207 == "Y") { ?> checked<?php } ?> />
							Receive a Token of Chivalry
							</li>
						</ul>
					</li>
				</ul>
			</li>
			<li><input type="checkbox" name="x_step208" value="Y"<?php if ($x_step208 == "Y") { ?> checked<?php } ?> />
			Part 4 - Rite of Heroism (Must Complete Rite of Cleansing First)
				<ul>
					<li><input type="checkbox" name="x_step209" value="Y"<?php if ($x_step209 == "Y") { ?> checked<?php } ?> />
					Talk to Duram Firechaser (Loc?? Nedaria's Landing)
					</li>
					<li><input type="checkbox" name="x_step210" value="Y"<?php if ($x_step210 == "Y") { ?> checked<?php } ?> />
					Talk to Pashia Clouddancer - Clear the room behind her of adds so she will talk (-935, -1890 Muramite Proving Grounds)
						<ul>
							<li><input type="checkbox" name="x_step211" value="Y"<?php if ($x_step211 == "Y") { ?> checked<?php } ?> />
							Kill Diad the Devourer
								<ul>
									<li><input type="checkbox" name="x_step212" value="Y"<?php if ($x_step212 == "Y") { ?> checked<?php } ?> />
									Loot Pashia's Sword
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step213" value="Y"<?php if ($x_step213 == "Y") { ?> checked<?php } ?> />
					Talk to Pashia Clouddancer
						<ul>
							<li><input type="checkbox" name="x_step214" value="Y"<?php if ($x_step214 == "Y") { ?> checked<?php } ?> />
							Say, "note"
								<ul>
									<li><input type="checkbox" name="x_step215" value="Y"<?php if ($x_step215 == "Y") { ?> checked<?php } ?> />
									Receive a Note from Pashia
									</li>
								</ul>
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step216" value="Y"<?php if ($x_step216 == "Y") { ?> checked<?php } ?> />
					Give note to Duram (Nedaria's Landing)
						<ul>
							<li><input type="checkbox" name="x_step217" value="Y"<?php if ($x_step217 == "Y") { ?> checked<?php } ?> />
							Receive a Token of Heroism
							</li>
						</ul>
					</li>
				</ul>
			</li>
			<li><input type="checkbox" name="x_step218" value="Y"<?php if ($x_step218 == "Y") { ?> checked<?php } ?> />
			Part 5 - The Final Stretch
				<ul>
					<li><input type="checkbox" name="x_step219" value="Y"<?php if ($x_step219 == "Y") { ?> checked<?php } ?> />
					Talk to Inte Akera (Loc?? Plane of Sky - Fourth Island)
					</li>
					<li><input type="checkbox" name="x_step220" value="Y"<?php if ($x_step220 == "Y") { ?> checked<?php } ?> />
					Globe of Discordant Energy - Drops from 4 mobs in complete clearing of Citidel of Anguish
					</li>
					<li><input type="checkbox" name="x_step221" value="Y"<?php if ($x_step221 == "Y") { ?> checked<?php } ?> />
					Give Globe to Inte Akera
						<ul>
							<li><input type="checkbox" name="x_step222" value="Y"<?php if ($x_step222 == "Y") { ?> checked<?php } ?> />
							Receive a Token of Loyalty, a Token of Conviction, and a Scabbard of the Righteous (8 Slot Container)
							</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step223" value="Y"<?php if ($x_step223 == "Y") { ?> checked<?php } ?> />
					Combine in the scabbard: the six tokens + Redemption
						<ul>
							<li><input type="checkbox" name="x_step224" value="Y"<?php if ($x_step224 == "Y") { ?> checked<?php } ?> />
							Receive Nightbane, Sword of the Valiant (2.0)
							</li>
						</ul>
					</li>
				</ul>
			</li>
		</ul>
	</li>
		<li><input type="checkbox" name="x_step225" value="Y"<?php if ($x_step225 == "Y") { ?> checked<?php } ?> />2.5
		<ul>
			<li><input type="checkbox" name="x_step226" value="Y"<?php if ($x_step226 == "Y") { ?> checked<?php } ?> />
			An Epic Augment (Quest - Dreadspire Keep)
				<ul>
					<li><input type="checkbox" name="x_step227" value="Y"<?php if ($x_step227 == "Y") { ?> checked<?php } ?> />
					Kill ??
						<ul>
							<li><input type="checkbox" name="x_step228" value="Y"<?php if ($x_step228 == "Y") { ?> checked<?php } ?> />
							Loot??</li>
						</ul>
					</li>
					<li><input type="checkbox" name="x_step229" value="Y"<?php if ($x_step229 == "Y") { ?> checked<?php } ?> />
					Turn in ?? to Eric Von Schnelling (Loc?? Zone??)
						<ul>
							<li><input type="checkbox" name="x_step230" value="Y"<?php if ($x_step230 == "Y") { ?> checked<?php } ?> />
							Receive ??</li>
						</ul>
					</li>
				</ul>
			</li>
		</ul>
	</li>
</ul>
<p></p>
<input type="submit" name="btnAction" id="btnAction" value="Add Paladin Checklist" class="button" />
</form>
<?php include ("../footer.php") ?>
<?php
phpmkr_db_close($conn);
?>
<?php

//-------------------------------------------------------------------------------
// Function LoadData
// - Variables setup: field variables

function LoadData($conn)
{
	global $x_pal_name;
	$sFilter = ewSqlKeyWhere;
	$x_pal_name =  (get_magic_quotes_gpc()) ? stripslashes($x_pal_name) : $x_pal_name;
	$sFilter = str_replace("@pal_name", AdjustSql($x_pal_name), $sFilter); // Replace key value
	if ((CurrentUserID() <> "-1") && (CurrentUserID() <> "")) {

	//$sFilter .= " AND " . str_replace("#UserID", AdjustSql(CurrentuserID()), ewSqlUserIDFilter);
	$sFilter .= " AND " . ewSqlUserIDFilter;
	$sFilter = str_replace("#Key", "`pal_name`", $sFilter);
	$sFilter = str_replace("#UserID", AdjustSql(CurrentUserID()), $sFilter);
	}
	$sSql = ewBuildSql(ewSqlSelect, ewSqlWhere, ewSqlGroupBy, ewSqlHaving, ewSqlOrderBy, $sFilter, "");
	$rs = phpmkr_query($sSql,$conn) or die("Failed to execute query at line " . __LINE__ . ": " . phpmkr_error($conn) . '<br>SQL: ' . $sSql);
	if (phpmkr_num_rows($rs) == 0) {
		$bLoadData = false;
	} else {
		$bLoadData = true;
		$row = phpmkr_fetch_array($rs);

		// Get the field contents
		$GLOBALS["x_pal_name"] = $row["pal_name"];
		$GLOBALS["x_step001"] = $row["step001"];
		$GLOBALS["x_step002"] = $row["step002"];
		$GLOBALS["x_step003"] = $row["step003"];
		$GLOBALS["x_step004"] = $row["step004"];
		$GLOBALS["x_step005"] = $row["step005"];
		$GLOBALS["x_step006"] = $row["step006"];
		$GLOBALS["x_step007"] = $row["step007"];
		$GLOBALS["x_step008"] = $row["step008"];
		$GLOBALS["x_step009"] = $row["step009"];
		$GLOBALS["x_step010"] = $row["step010"];
		$GLOBALS["x_step011"] = $row["step011"];
		$GLOBALS["x_step012"] = $row["step012"];
		$GLOBALS["x_step013"] = $row["step013"];
		$GLOBALS["x_step014"] = $row["step014"];
		$GLOBALS["x_step015"] = $row["step015"];
		$GLOBALS["x_step016"] = $row["step016"];
		$GLOBALS["x_step017"] = $row["step017"];
		$GLOBALS["x_step018"] = $row["step018"];
		$GLOBALS["x_step019"] = $row["step019"];
		$GLOBALS["x_step020"] = $row["step020"];
		$GLOBALS["x_step021"] = $row["step021"];
		$GLOBALS["x_step022"] = $row["step022"];
		$GLOBALS["x_step023"] = $row["step023"];
		$GLOBALS["x_step024"] = $row["step024"];
		$GLOBALS["x_step025"] = $row["step025"];
		$GLOBALS["x_step026"] = $row["step026"];
		$GLOBALS["x_step027"] = $row["step027"];
		$GLOBALS["x_step028"] = $row["step028"];
		$GLOBALS["x_step029"] = $row["step029"];
		$GLOBALS["x_step030"] = $row["step030"];
		$GLOBALS["x_step031"] = $row["step031"];
		$GLOBALS["x_step032"] = $row["step032"];
		$GLOBALS["x_step033"] = $row["step033"];
		$GLOBALS["x_step034"] = $row["step034"];
		$GLOBALS["x_step035"] = $row["step035"];
		$GLOBALS["x_step036"] = $row["step036"];
		$GLOBALS["x_step037"] = $row["step037"];
		$GLOBALS["x_step038"] = $row["step038"];
		$GLOBALS["x_step039"] = $row["step039"];
		$GLOBALS["x_step040"] = $row["step040"];
		$GLOBALS["x_step041"] = $row["step041"];
		$GLOBALS["x_step042"] = $row["step042"];
		$GLOBALS["x_step043"] = $row["step043"];
		$GLOBALS["x_step044"] = $row["step044"];
		$GLOBALS["x_step045"] = $row["step045"];
		$GLOBALS["x_step046"] = $row["step046"];
		$GLOBALS["x_step047"] = $row["step047"];
		$GLOBALS["x_step048"] = $row["step048"];
		$GLOBALS["x_step049"] = $row["step049"];
		$GLOBALS["x_step050"] = $row["step050"];
		$GLOBALS["x_step051"] = $row["step051"];
		$GLOBALS["x_step052"] = $row["step052"];
		$GLOBALS["x_step053"] = $row["step053"];
		$GLOBALS["x_step054"] = $row["step054"];
		$GLOBALS["x_step055"] = $row["step055"];
		$GLOBALS["x_step056"] = $row["step056"];
		$GLOBALS["x_step057"] = $row["step057"];
		$GLOBALS["x_step058"] = $row["step058"];
		$GLOBALS["x_step059"] = $row["step059"];
		$GLOBALS["x_step060"] = $row["step060"];
		$GLOBALS["x_step061"] = $row["step061"];
		$GLOBALS["x_step062"] = $row["step062"];
		$GLOBALS["x_step063"] = $row["step063"];
		$GLOBALS["x_step064"] = $row["step064"];
		$GLOBALS["x_step065"] = $row["step065"];
		$GLOBALS["x_step066"] = $row["step066"];
		$GLOBALS["x_step067"] = $row["step067"];
		$GLOBALS["x_step068"] = $row["step068"];
		$GLOBALS["x_step069"] = $row["step069"];
		$GLOBALS["x_step070"] = $row["step070"];
		$GLOBALS["x_step071"] = $row["step071"];
		$GLOBALS["x_step072"] = $row["step072"];
		$GLOBALS["x_step073"] = $row["step073"];
		$GLOBALS["x_step074"] = $row["step074"];
		$GLOBALS["x_step075"] = $row["step075"];
		$GLOBALS["x_step076"] = $row["step076"];
		$GLOBALS["x_step077"] = $row["step077"];
		$GLOBALS["x_step078"] = $row["step078"];
		$GLOBALS["x_step079"] = $row["step079"];
		$GLOBALS["x_step080"] = $row["step080"];
		$GLOBALS["x_step081"] = $row["step081"];
		$GLOBALS["x_step082"] = $row["step082"];
		$GLOBALS["x_step083"] = $row["step083"];
		$GLOBALS["x_step084"] = $row["step084"];
		$GLOBALS["x_step085"] = $row["step085"];
		$GLOBALS["x_step086"] = $row["step086"];
		$GLOBALS["x_step087"] = $row["step087"];
		$GLOBALS["x_step088"] = $row["step088"];
		$GLOBALS["x_step089"] = $row["step089"];
		$GLOBALS["x_step090"] = $row["step090"];
		$GLOBALS["x_step091"] = $row["step091"];
		$GLOBALS["x_step092"] = $row["step092"];
		$GLOBALS["x_step093"] = $row["step093"];
		$GLOBALS["x_step094"] = $row["step094"];
		$GLOBALS["x_step095"] = $row["step095"];
		$GLOBALS["x_step096"] = $row["step096"];
		$GLOBALS["x_step097"] = $row["step097"];
		$GLOBALS["x_step098"] = $row["step098"];
		$GLOBALS["x_step099"] = $row["step099"];
		$GLOBALS["x_step100"] = $row["step100"];
		$GLOBALS["x_step101"] = $row["step101"];
		$GLOBALS["x_step102"] = $row["step102"];
		$GLOBALS["x_step103"] = $row["step103"];
		$GLOBALS["x_step104"] = $row["step104"];
		$GLOBALS["x_step105"] = $row["step105"];
		$GLOBALS["x_step106"] = $row["step106"];
		$GLOBALS["x_step107"] = $row["step107"];
		$GLOBALS["x_step108"] = $row["step108"];
		$GLOBALS["x_step109"] = $row["step109"];
		$GLOBALS["x_step110"] = $row["step110"];
		$GLOBALS["x_step111"] = $row["step111"];
		$GLOBALS["x_step112"] = $row["step112"];
		$GLOBALS["x_step113"] = $row["step113"];
		$GLOBALS["x_step114"] = $row["step114"];
		$GLOBALS["x_step115"] = $row["step115"];
		$GLOBALS["x_step116"] = $row["step116"];
		$GLOBALS["x_step117"] = $row["step117"];
		$GLOBALS["x_step118"] = $row["step118"];
		$GLOBALS["x_step119"] = $row["step119"];
		$GLOBALS["x_step120"] = $row["step120"];
		$GLOBALS["x_step121"] = $row["step121"];
		$GLOBALS["x_step122"] = $row["step122"];
		$GLOBALS["x_step123"] = $row["step123"];
		$GLOBALS["x_step124"] = $row["step124"];
		$GLOBALS["x_step125"] = $row["step125"];
		$GLOBALS["x_step126"] = $row["step126"];
		$GLOBALS["x_step127"] = $row["step127"];
		$GLOBALS["x_step128"] = $row["step128"];
		$GLOBALS["x_step129"] = $row["step129"];
		$GLOBALS["x_step130"] = $row["step130"];
		$GLOBALS["x_step131"] = $row["step131"];
		$GLOBALS["x_step132"] = $row["step132"];
		$GLOBALS["x_step133"] = $row["step133"];
		$GLOBALS["x_step134"] = $row["step134"];
		$GLOBALS["x_step135"] = $row["step135"];
		$GLOBALS["x_step136"] = $row["step136"];
		$GLOBALS["x_step137"] = $row["step137"];
		$GLOBALS["x_step138"] = $row["step138"];
		$GLOBALS["x_step139"] = $row["step139"];
		$GLOBALS["x_step140"] = $row["step140"];
		$GLOBALS["x_step141"] = $row["step141"];
		$GLOBALS["x_step142"] = $row["step142"];
		$GLOBALS["x_step143"] = $row["step143"];
		$GLOBALS["x_step144"] = $row["step144"];
		$GLOBALS["x_step145"] = $row["step145"];
		$GLOBALS["x_step146"] = $row["step146"];
		$GLOBALS["x_step147"] = $row["step147"];
		$GLOBALS["x_step148"] = $row["step148"];
		$GLOBALS["x_step149"] = $row["step149"];
		$GLOBALS["x_step150"] = $row["step150"];
		$GLOBALS["x_step151"] = $row["step151"];
		$GLOBALS["x_step152"] = $row["step152"];
		$GLOBALS["x_step153"] = $row["step153"];
		$GLOBALS["x_step154"] = $row["step154"];
		$GLOBALS["x_step155"] = $row["step155"];
		$GLOBALS["x_step156"] = $row["step156"];
		$GLOBALS["x_step157"] = $row["step157"];
		$GLOBALS["x_step158"] = $row["step158"];
		$GLOBALS["x_step159"] = $row["step159"];
		$GLOBALS["x_step160"] = $row["step160"];
		$GLOBALS["x_step161"] = $row["step161"];
		$GLOBALS["x_step162"] = $row["step162"];
		$GLOBALS["x_step163"] = $row["step163"];
		$GLOBALS["x_step164"] = $row["step164"];
		$GLOBALS["x_step165"] = $row["step165"];
		$GLOBALS["x_step166"] = $row["step166"];
		$GLOBALS["x_step167"] = $row["step167"];
		$GLOBALS["x_step168"] = $row["step168"];
		$GLOBALS["x_step169"] = $row["step169"];
		$GLOBALS["x_step170"] = $row["step170"];
		$GLOBALS["x_step171"] = $row["step171"];
		$GLOBALS["x_step172"] = $row["step172"];
		$GLOBALS["x_step173"] = $row["step173"];
		$GLOBALS["x_step174"] = $row["step174"];
		$GLOBALS["x_step175"] = $row["step175"];
		$GLOBALS["x_step176"] = $row["step176"];
		$GLOBALS["x_step177"] = $row["step177"];
		$GLOBALS["x_step178"] = $row["step178"];
		$GLOBALS["x_step179"] = $row["step179"];
		$GLOBALS["x_step180"] = $row["step180"];
		$GLOBALS["x_step181"] = $row["step181"];
		$GLOBALS["x_step182"] = $row["step182"];
		$GLOBALS["x_step183"] = $row["step183"];
		$GLOBALS["x_step184"] = $row["step184"];
		$GLOBALS["x_step185"] = $row["step185"];
		$GLOBALS["x_step186"] = $row["step186"];
		$GLOBALS["x_step187"] = $row["step187"];
		$GLOBALS["x_step188"] = $row["step188"];
		$GLOBALS["x_step189"] = $row["step189"];
		$GLOBALS["x_step190"] = $row["step190"];
		$GLOBALS["x_step191"] = $row["step191"];
		$GLOBALS["x_step192"] = $row["step192"];
		$GLOBALS["x_step193"] = $row["step193"];
		$GLOBALS["x_step194"] = $row["step194"];
		$GLOBALS["x_step195"] = $row["step195"];
		$GLOBALS["x_step196"] = $row["step196"];
		$GLOBALS["x_step197"] = $row["step197"];
		$GLOBALS["x_step198"] = $row["step198"];
		$GLOBALS["x_step199"] = $row["step199"];
		$GLOBALS["x_step200"] = $row["step200"];
		$GLOBALS["x_step201"] = $row["step201"];
		$GLOBALS["x_step202"] = $row["step202"];
		$GLOBALS["x_step203"] = $row["step203"];
		$GLOBALS["x_step204"] = $row["step204"];
		$GLOBALS["x_step205"] = $row["step205"];
		$GLOBALS["x_step206"] = $row["step206"];
		$GLOBALS["x_step207"] = $row["step207"];
		$GLOBALS["x_step208"] = $row["step208"];
		$GLOBALS["x_step209"] = $row["step209"];
		$GLOBALS["x_step210"] = $row["step210"];
		$GLOBALS["x_step211"] = $row["step211"];
		$GLOBALS["x_step212"] = $row["step212"];
		$GLOBALS["x_step213"] = $row["step213"];
		$GLOBALS["x_step214"] = $row["step214"];
		$GLOBALS["x_step215"] = $row["step215"];
		$GLOBALS["x_step216"] = $row["step216"];
		$GLOBALS["x_step217"] = $row["step217"];
		$GLOBALS["x_step218"] = $row["step218"];
		$GLOBALS["x_step219"] = $row["step219"];
		$GLOBALS["x_step220"] = $row["step220"];
		$GLOBALS["x_step221"] = $row["step221"];
		$GLOBALS["x_step222"] = $row["step222"];
		$GLOBALS["x_step223"] = $row["step223"];
		$GLOBALS["x_step224"] = $row["step224"];
		$GLOBALS["x_step225"] = $row["step225"];
		$GLOBALS["x_step226"] = $row["step226"];
		$GLOBALS["x_step227"] = $row["step227"];
		$GLOBALS["x_step228"] = $row["step228"];
		$GLOBALS["x_step229"] = $row["step229"];
		$GLOBALS["x_step230"] = $row["step230"];
	}
	phpmkr_free_result($rs);
	return $bLoadData;
}
?>
<?php

//-------------------------------------------------------------------------------
// Function AddData
// - Add Data
// - Variables used: field variables

function AddData($conn)
{
	global $x_pal_name;
	$sFilter = ewSqlKeyWhere;

	// Check for duplicate key
	$bCheckKey = true;
	if ((@$x_pal_name == "") || (is_null(@$x_pal_name))) {
		$bCheckKey = false;
	} else {
		$sFilter = str_replace("@pal_name", AdjustSql($x_pal_name), $sFilter); // Replace key value
	}
	if ($bCheckKey) {
		$sSqlChk = ewBuildSql(ewSqlSelect, ewSqlWhere, ewSqlGroupBy, ewSqlHaving, ewSqlOrderBy, $sFilter, "");
		$rsChk = phpmkr_query($sSqlChk, $conn) or die("Failed to execute query at line " . __LINE__ . ": " . phpmkr_error($conn) . '<br>SQL: ' . $sSqlChk);
		if (phpmkr_num_rows($rsChk) > 0) {
			$_SESSION[ewSessionMessage] = "You Already Have a Paladin Epic Checklist";
			phpmkr_free_result($rsChk);
			return false;
		}
		phpmkr_free_result($rsChk);
	}

	// Field pal_name
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_pal_name"]) : $GLOBALS["x_pal_name"]; 
	$theValue = ($theValue != "") ? " '" . $theValue . "'" : "NULL";
	$fieldList["`pal_name`"] = $theValue;
	// Field step001
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step001"]) : $GLOBALS["x_step001"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step001`"] = $theValue;
	// Field step002
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step002"]) : $GLOBALS["x_step002"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step002`"] = $theValue;
	// Field step003
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step003"]) : $GLOBALS["x_step003"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step003`"] = $theValue;
	// Field step004
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step004"]) : $GLOBALS["x_step004"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step004`"] = $theValue;
	// Field step005
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step005"]) : $GLOBALS["x_step005"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step005`"] = $theValue;
	// Field step006
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step006"]) : $GLOBALS["x_step006"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step006`"] = $theValue;
	// Field step007
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step007"]) : $GLOBALS["x_step007"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step007`"] = $theValue;
	// Field step008
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step008"]) : $GLOBALS["x_step008"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step008`"] = $theValue;
	// Field step009
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step009"]) : $GLOBALS["x_step009"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step009`"] = $theValue;
	// Field step010
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step010"]) : $GLOBALS["x_step010"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step010`"] = $theValue;
	// Field step011
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step011"]) : $GLOBALS["x_step011"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step011`"] = $theValue;
	// Field step012
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step012"]) : $GLOBALS["x_step012"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step012`"] = $theValue;
	// Field step013
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step013"]) : $GLOBALS["x_step013"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step013`"] = $theValue;
	// Field step014
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step014"]) : $GLOBALS["x_step014"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step014`"] = $theValue;
	// Field step015
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step015"]) : $GLOBALS["x_step015"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step015`"] = $theValue;
	// Field step016
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step016"]) : $GLOBALS["x_step016"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step016`"] = $theValue;
	// Field step017
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step017"]) : $GLOBALS["x_step017"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step017`"] = $theValue;
	// Field step018
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step018"]) : $GLOBALS["x_step018"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step018`"] = $theValue;
	// Field step019
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step019"]) : $GLOBALS["x_step019"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step019`"] = $theValue;
	// Field step020
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step020"]) : $GLOBALS["x_step020"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step020`"] = $theValue;
	// Field step021
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step021"]) : $GLOBALS["x_step021"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step021`"] = $theValue;
	// Field step022
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step022"]) : $GLOBALS["x_step022"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step022`"] = $theValue;
	// Field step023
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step023"]) : $GLOBALS["x_step023"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step023`"] = $theValue;
	// Field step024
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step024"]) : $GLOBALS["x_step024"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step024`"] = $theValue;
	// Field step025
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step025"]) : $GLOBALS["x_step025"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step025`"] = $theValue;
	// Field step026
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step026"]) : $GLOBALS["x_step026"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step026`"] = $theValue;
	// Field step027
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step027"]) : $GLOBALS["x_step027"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step027`"] = $theValue;
	// Field step028
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step028"]) : $GLOBALS["x_step028"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step028`"] = $theValue;
	// Field step029
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step029"]) : $GLOBALS["x_step029"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step029`"] = $theValue;
	// Field step030
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step030"]) : $GLOBALS["x_step030"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step030`"] = $theValue;
	// Field step031
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step031"]) : $GLOBALS["x_step031"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step031`"] = $theValue;
	// Field step032
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step032"]) : $GLOBALS["x_step032"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step032`"] = $theValue;
	// Field step033
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step033"]) : $GLOBALS["x_step033"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step033`"] = $theValue;
	// Field step034
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step034"]) : $GLOBALS["x_step034"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step034`"] = $theValue;
	// Field step035
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step035"]) : $GLOBALS["x_step035"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step035`"] = $theValue;
	// Field step036
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step036"]) : $GLOBALS["x_step036"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step036`"] = $theValue;
	// Field step037
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step037"]) : $GLOBALS["x_step037"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step037`"] = $theValue;
	// Field step038
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step038"]) : $GLOBALS["x_step038"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step038`"] = $theValue;
	// Field step039
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step039"]) : $GLOBALS["x_step039"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step039`"] = $theValue;
	// Field step040
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step040"]) : $GLOBALS["x_step040"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step040`"] = $theValue;
	// Field step041
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step041"]) : $GLOBALS["x_step041"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step041`"] = $theValue;
	// Field step042
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step042"]) : $GLOBALS["x_step042"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step042`"] = $theValue;
	// Field step043
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step043"]) : $GLOBALS["x_step043"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step043`"] = $theValue;
	// Field step044
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step044"]) : $GLOBALS["x_step044"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step044`"] = $theValue;
	// Field step045
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step045"]) : $GLOBALS["x_step045"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step045`"] = $theValue;
	// Field step046
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step046"]) : $GLOBALS["x_step046"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step046`"] = $theValue;
	// Field step047
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step047"]) : $GLOBALS["x_step047"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step047`"] = $theValue;
	// Field step048
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step048"]) : $GLOBALS["x_step048"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step048`"] = $theValue;
	// Field step049
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step049"]) : $GLOBALS["x_step049"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step049`"] = $theValue;
	// Field step050
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step050"]) : $GLOBALS["x_step050"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step050`"] = $theValue;
	// Field step051
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step051"]) : $GLOBALS["x_step051"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step051`"] = $theValue;
	// Field step052
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step052"]) : $GLOBALS["x_step052"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step052`"] = $theValue;
	// Field step053
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step053"]) : $GLOBALS["x_step053"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step053`"] = $theValue;
	// Field step054
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step054"]) : $GLOBALS["x_step054"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step054`"] = $theValue;
	// Field step055
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step055"]) : $GLOBALS["x_step055"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step055`"] = $theValue;
	// Field step056
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step056"]) : $GLOBALS["x_step056"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step056`"] = $theValue;
	// Field step057
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step057"]) : $GLOBALS["x_step057"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step057`"] = $theValue;
	// Field step058
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step058"]) : $GLOBALS["x_step058"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step058`"] = $theValue;
	// Field step059
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step059"]) : $GLOBALS["x_step059"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step059`"] = $theValue;
	// Field step060
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step060"]) : $GLOBALS["x_step060"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step060`"] = $theValue;
	// Field step061
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step061"]) : $GLOBALS["x_step061"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step061`"] = $theValue;
	// Field step062
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step062"]) : $GLOBALS["x_step062"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step062`"] = $theValue;
	// Field step063
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step063"]) : $GLOBALS["x_step063"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step063`"] = $theValue;
	// Field step064
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step064"]) : $GLOBALS["x_step064"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step064`"] = $theValue;
	// Field step065
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step065"]) : $GLOBALS["x_step065"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step065`"] = $theValue;
	// Field step066
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step066"]) : $GLOBALS["x_step066"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step066`"] = $theValue;
	// Field step067
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step067"]) : $GLOBALS["x_step067"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step067`"] = $theValue;
	// Field step068
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step068"]) : $GLOBALS["x_step068"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step068`"] = $theValue;
	// Field step069
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step069"]) : $GLOBALS["x_step069"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step069`"] = $theValue;
	// Field step070
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step070"]) : $GLOBALS["x_step070"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step070`"] = $theValue;
	// Field step071
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step071"]) : $GLOBALS["x_step071"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step071`"] = $theValue;
	// Field step072
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step072"]) : $GLOBALS["x_step072"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step072`"] = $theValue;
	// Field step073
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step073"]) : $GLOBALS["x_step073"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step073`"] = $theValue;
	// Field step074
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step074"]) : $GLOBALS["x_step074"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step074`"] = $theValue;
	// Field step075
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step075"]) : $GLOBALS["x_step075"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step075`"] = $theValue;
	// Field step076
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step076"]) : $GLOBALS["x_step076"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step076`"] = $theValue;
	// Field step077
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step077"]) : $GLOBALS["x_step077"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step077`"] = $theValue;
	// Field step078
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step078"]) : $GLOBALS["x_step078"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step078`"] = $theValue;
	// Field step079
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step079"]) : $GLOBALS["x_step079"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step079`"] = $theValue;
	// Field step080
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step080"]) : $GLOBALS["x_step080"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step080`"] = $theValue;
	// Field step081
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step081"]) : $GLOBALS["x_step081"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step081`"] = $theValue;
	// Field step082
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step082"]) : $GLOBALS["x_step082"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step082`"] = $theValue;
	// Field step083
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step083"]) : $GLOBALS["x_step083"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step083`"] = $theValue;
	// Field step084
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step084"]) : $GLOBALS["x_step084"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step084`"] = $theValue;
	// Field step085
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step085"]) : $GLOBALS["x_step085"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step085`"] = $theValue;
	// Field step086
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step086"]) : $GLOBALS["x_step086"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step086`"] = $theValue;
	// Field step087
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step087"]) : $GLOBALS["x_step087"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step087`"] = $theValue;
	// Field step088
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step088"]) : $GLOBALS["x_step088"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step088`"] = $theValue;
	// Field step089
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step089"]) : $GLOBALS["x_step089"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step089`"] = $theValue;
	// Field step090
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step090"]) : $GLOBALS["x_step090"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step090`"] = $theValue;
	// Field step091
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step091"]) : $GLOBALS["x_step091"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step091`"] = $theValue;
	// Field step092
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step092"]) : $GLOBALS["x_step092"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step092`"] = $theValue;
	// Field step093
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step093"]) : $GLOBALS["x_step093"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step093`"] = $theValue;
	// Field step094
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step094"]) : $GLOBALS["x_step094"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step094`"] = $theValue;
	// Field step095
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step095"]) : $GLOBALS["x_step095"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step095`"] = $theValue;
	// Field step096
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step096"]) : $GLOBALS["x_step096"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step096`"] = $theValue;
	// Field step097
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step097"]) : $GLOBALS["x_step097"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step097`"] = $theValue;
	// Field step098
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step098"]) : $GLOBALS["x_step098"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step098`"] = $theValue;
	// Field step099
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step099"]) : $GLOBALS["x_step099"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step099`"] = $theValue;
	// Field step100
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step100"]) : $GLOBALS["x_step100"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step100`"] = $theValue;
	// Field step101
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step101"]) : $GLOBALS["x_step101"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step101`"] = $theValue;
	// Field step102
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step102"]) : $GLOBALS["x_step102"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step102`"] = $theValue;
	// Field step103
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step103"]) : $GLOBALS["x_step103"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step103`"] = $theValue;
	// Field step104
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step104"]) : $GLOBALS["x_step104"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step104`"] = $theValue;
	// Field step105
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step105"]) : $GLOBALS["x_step105"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step105`"] = $theValue;
	// Field step106
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step106"]) : $GLOBALS["x_step106"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step106`"] = $theValue;
	// Field step107
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step107"]) : $GLOBALS["x_step107"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step107`"] = $theValue;
	// Field step108
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step108"]) : $GLOBALS["x_step108"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step108`"] = $theValue;
	// Field step109
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step109"]) : $GLOBALS["x_step109"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step109`"] = $theValue;
	// Field step110
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step110"]) : $GLOBALS["x_step110"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step110`"] = $theValue;
	// Field step111
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step111"]) : $GLOBALS["x_step111"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step111`"] = $theValue;
	// Field step112
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step112"]) : $GLOBALS["x_step112"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step112`"] = $theValue;
	// Field step113
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step113"]) : $GLOBALS["x_step113"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step113`"] = $theValue;
	// Field step114
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step114"]) : $GLOBALS["x_step114"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step114`"] = $theValue;
	// Field step115
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step115"]) : $GLOBALS["x_step115"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step115`"] = $theValue;
	// Field step116
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step116"]) : $GLOBALS["x_step116"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step116`"] = $theValue;
	// Field step117
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step117"]) : $GLOBALS["x_step117"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step117`"] = $theValue;
	// Field step118
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step118"]) : $GLOBALS["x_step118"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step118`"] = $theValue;
	// Field step119
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step119"]) : $GLOBALS["x_step119"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step119`"] = $theValue;
	// Field step120
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step120"]) : $GLOBALS["x_step120"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step120`"] = $theValue;
	// Field step121
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step121"]) : $GLOBALS["x_step121"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step121`"] = $theValue;
	// Field step122
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step122"]) : $GLOBALS["x_step122"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step122`"] = $theValue;
	// Field step123
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step123"]) : $GLOBALS["x_step123"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step123`"] = $theValue;
	// Field step124
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step124"]) : $GLOBALS["x_step124"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step124`"] = $theValue;
	// Field step125
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step125"]) : $GLOBALS["x_step125"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step125`"] = $theValue;
	// Field step126
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step126"]) : $GLOBALS["x_step126"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step126`"] = $theValue;
	// Field step127
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step127"]) : $GLOBALS["x_step127"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step127`"] = $theValue;
	// Field step128
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step128"]) : $GLOBALS["x_step128"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step128`"] = $theValue;
	// Field step129
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step129"]) : $GLOBALS["x_step129"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step129`"] = $theValue;
	// Field step130
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step130"]) : $GLOBALS["x_step130"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step130`"] = $theValue;
	// Field step131
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step131"]) : $GLOBALS["x_step131"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step131`"] = $theValue;
	// Field step132
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step132"]) : $GLOBALS["x_step132"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step132`"] = $theValue;
	// Field step133
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step133"]) : $GLOBALS["x_step133"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step133`"] = $theValue;
	// Field step134
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step134"]) : $GLOBALS["x_step134"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step134`"] = $theValue;
	// Field step135
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step135"]) : $GLOBALS["x_step135"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step135`"] = $theValue;
	// Field step136
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step136"]) : $GLOBALS["x_step136"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step136`"] = $theValue;
	// Field step137
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step137"]) : $GLOBALS["x_step137"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step137`"] = $theValue;
	// Field step138
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step138"]) : $GLOBALS["x_step138"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step138`"] = $theValue;
	// Field step139
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step139"]) : $GLOBALS["x_step139"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step139`"] = $theValue;
	// Field step140
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step140"]) : $GLOBALS["x_step140"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step140`"] = $theValue;
	// Field step141
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step141"]) : $GLOBALS["x_step141"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step141`"] = $theValue;
	// Field step142
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step142"]) : $GLOBALS["x_step142"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step142`"] = $theValue;
	// Field step143
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step143"]) : $GLOBALS["x_step143"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step143`"] = $theValue;
	// Field step144
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step144"]) : $GLOBALS["x_step144"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step144`"] = $theValue;
	// Field step145
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step145"]) : $GLOBALS["x_step145"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step145`"] = $theValue;
	// Field step146
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step146"]) : $GLOBALS["x_step146"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step146`"] = $theValue;
	// Field step147
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step147"]) : $GLOBALS["x_step147"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step147`"] = $theValue;
	// Field step148
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step148"]) : $GLOBALS["x_step148"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step148`"] = $theValue;
	// Field step149
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step149"]) : $GLOBALS["x_step149"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step149`"] = $theValue;
	// Field step150
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step150"]) : $GLOBALS["x_step150"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step150`"] = $theValue;
	// Field step151
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step151"]) : $GLOBALS["x_step151"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step151`"] = $theValue;
	// Field step152
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step152"]) : $GLOBALS["x_step152"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step152`"] = $theValue;
	// Field step153
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step153"]) : $GLOBALS["x_step153"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step153`"] = $theValue;
	// Field step154
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step154"]) : $GLOBALS["x_step154"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step154`"] = $theValue;
	// Field step155
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step155"]) : $GLOBALS["x_step155"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step155`"] = $theValue;
	// Field step156
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step156"]) : $GLOBALS["x_step156"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step156`"] = $theValue;
	// Field step157
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step157"]) : $GLOBALS["x_step157"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step157`"] = $theValue;
	// Field step158
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step158"]) : $GLOBALS["x_step158"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step158`"] = $theValue;
	// Field step159
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step159"]) : $GLOBALS["x_step159"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step159`"] = $theValue;
	// Field step160
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step160"]) : $GLOBALS["x_step160"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step160`"] = $theValue;
	// Field step161
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step161"]) : $GLOBALS["x_step161"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step161`"] = $theValue;
	// Field step162
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step162"]) : $GLOBALS["x_step162"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step162`"] = $theValue;
	// Field step163
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step163"]) : $GLOBALS["x_step163"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step163`"] = $theValue;
	// Field step164
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step164"]) : $GLOBALS["x_step164"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step164`"] = $theValue;
	// Field step165
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step165"]) : $GLOBALS["x_step165"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step165`"] = $theValue;
	// Field step166
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step166"]) : $GLOBALS["x_step166"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step166`"] = $theValue;
	// Field step167
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step167"]) : $GLOBALS["x_step167"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step167`"] = $theValue;
	// Field step168
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step168"]) : $GLOBALS["x_step168"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step168`"] = $theValue;
	// Field step169
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step169"]) : $GLOBALS["x_step169"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step169`"] = $theValue;
	// Field step170
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step170"]) : $GLOBALS["x_step170"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step170`"] = $theValue;
	// Field step171
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step171"]) : $GLOBALS["x_step171"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step171`"] = $theValue;
	// Field step172
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step172"]) : $GLOBALS["x_step172"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step172`"] = $theValue;
	// Field step173
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step173"]) : $GLOBALS["x_step173"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step173`"] = $theValue;
	// Field step174
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step174"]) : $GLOBALS["x_step174"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step174`"] = $theValue;
	// Field step175
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step175"]) : $GLOBALS["x_step175"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step175`"] = $theValue;
	// Field step176
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step176"]) : $GLOBALS["x_step176"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step176`"] = $theValue;
	// Field step177
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step177"]) : $GLOBALS["x_step177"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step177`"] = $theValue;
	// Field step178
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step178"]) : $GLOBALS["x_step178"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step178`"] = $theValue;
	// Field step179
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step179"]) : $GLOBALS["x_step179"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step179`"] = $theValue;
	// Field step180
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step180"]) : $GLOBALS["x_step180"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step180`"] = $theValue;
	// Field step181
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step181"]) : $GLOBALS["x_step181"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step181`"] = $theValue;
	// Field step182
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step182"]) : $GLOBALS["x_step182"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step182`"] = $theValue;
	// Field step183
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step183"]) : $GLOBALS["x_step183"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step183`"] = $theValue;
	// Field step184
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step184"]) : $GLOBALS["x_step184"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step184`"] = $theValue;
	// Field step185
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step185"]) : $GLOBALS["x_step185"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step185`"] = $theValue;
	// Field step186
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step186"]) : $GLOBALS["x_step186"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step186`"] = $theValue;
	// Field step187
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step187"]) : $GLOBALS["x_step187"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step187`"] = $theValue;
	// Field step188
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step188"]) : $GLOBALS["x_step188"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step188`"] = $theValue;
	// Field step189
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step189"]) : $GLOBALS["x_step189"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step189`"] = $theValue;
	// Field step190
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step190"]) : $GLOBALS["x_step190"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step190`"] = $theValue;
	// Field step191
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step191"]) : $GLOBALS["x_step191"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step191`"] = $theValue;
	// Field step192
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step192"]) : $GLOBALS["x_step192"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step192`"] = $theValue;
	// Field step193
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step193"]) : $GLOBALS["x_step193"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step193`"] = $theValue;
	// Field step194
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step194"]) : $GLOBALS["x_step194"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step194`"] = $theValue;
	// Field step195
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step195"]) : $GLOBALS["x_step195"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step195`"] = $theValue;
	// Field step196
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step196"]) : $GLOBALS["x_step196"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step196`"] = $theValue;
	// Field step197
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step197"]) : $GLOBALS["x_step197"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step197`"] = $theValue;
	// Field step198
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step198"]) : $GLOBALS["x_step198"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step198`"] = $theValue;
	// Field step199
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step199"]) : $GLOBALS["x_step199"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step199`"] = $theValue;
	// Field step200
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step200"]) : $GLOBALS["x_step200"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step200`"] = $theValue;
	// Field step201
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step201"]) : $GLOBALS["x_step201"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step201`"] = $theValue;
	// Field step202
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step202"]) : $GLOBALS["x_step202"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step202`"] = $theValue;
	// Field step203
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step203"]) : $GLOBALS["x_step203"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step203`"] = $theValue;
	// Field step204
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step204"]) : $GLOBALS["x_step204"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step204`"] = $theValue;
	// Field step205
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step205"]) : $GLOBALS["x_step205"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step205`"] = $theValue;
	// Field step206
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step206"]) : $GLOBALS["x_step206"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step206`"] = $theValue;
	// Field step207
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step207"]) : $GLOBALS["x_step207"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step207`"] = $theValue;
	// Field step208
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step208"]) : $GLOBALS["x_step208"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step208`"] = $theValue;
	// Field step209
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step209"]) : $GLOBALS["x_step209"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step209`"] = $theValue;
	// Field step210
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step210"]) : $GLOBALS["x_step210"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step210`"] = $theValue;
	// Field step211
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step211"]) : $GLOBALS["x_step211"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step211`"] = $theValue;
	// Field step212
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step212"]) : $GLOBALS["x_step212"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step212`"] = $theValue;
	// Field step213
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step213"]) : $GLOBALS["x_step213"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step213`"] = $theValue;
	// Field step214
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step214"]) : $GLOBALS["x_step214"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step214`"] = $theValue;
	// Field step215
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step215"]) : $GLOBALS["x_step215"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step215`"] = $theValue;
	// Field step216
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step216"]) : $GLOBALS["x_step216"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step216`"] = $theValue;
	// Field step217
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step217"]) : $GLOBALS["x_step217"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step217`"] = $theValue;
	// Field step218
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step218"]) : $GLOBALS["x_step218"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step218`"] = $theValue;
	// Field step219
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step219"]) : $GLOBALS["x_step219"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step219`"] = $theValue;
	// Field step220
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step220"]) : $GLOBALS["x_step220"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step220`"] = $theValue;
	// Field step221
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step221"]) : $GLOBALS["x_step221"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step221`"] = $theValue;
	// Field step222
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step222"]) : $GLOBALS["x_step222"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step222`"] = $theValue;
	// Field step223
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step223"]) : $GLOBALS["x_step223"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step223`"] = $theValue;
	// Field step224
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step224"]) : $GLOBALS["x_step224"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step224`"] = $theValue;
	// Field step225
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step225"]) : $GLOBALS["x_step225"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step225`"] = $theValue;
	// Field step226
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step226"]) : $GLOBALS["x_step226"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step226`"] = $theValue;
	// Field step227
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step227"]) : $GLOBALS["x_step227"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step227`"] = $theValue;
	// Field step228
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step228"]) : $GLOBALS["x_step228"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step228`"] = $theValue;
	// Field step229
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step229"]) : $GLOBALS["x_step229"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step229`"] = $theValue;
	// Field step230
	$theValue = (!get_magic_quotes_gpc()) ? addslashes($GLOBALS["x_step230"]) : $GLOBALS["x_step230"]; 
	$theValue = (strtoupper($theValue) != "Y") ? " 'N'" : " 'Y'";
	$fieldList["`step230`"] = $theValue;

	// Inserting event
	if (Recordset_Inserting($fieldList)) {

		// Insert
		$sSql = "INSERT INTO `chklist_pal` (";
		$sSql .= implode(",", array_keys($fieldList));
		$sSql .= ") VALUES (";
		$sSql .= implode(",", array_values($fieldList));
		$sSql .= ")";	
		phpmkr_query($sSql, $conn) or die("Failed to execute query at line " . __LINE__ . ": " . phpmkr_error($conn) . '<br>SQL: ' . $sSql);
		$result = (phpmkr_affected_rows($conn) > 0);

		// Inserted event
		if ($result) Recordset_Inserted($fieldList);
	} else {
		$result = false;
	}
	return $result;
}

// Inserting event
function Recordset_Inserting(&$newrs)
{

	// Enter your customized codes here
	return true;
}

// Inserted event
function Recordset_Inserted($newrs)
{
	$table = "chklist_pal";
}
?>
Return current item: eqEpic