</div> </div> <div class="lr"> <div class="prettybox"> <h3>Compare source project</h3> <?php showProjectList($projects, true); ?> </div> </div> <div class="lr"> <div class="prettybox"> <h3>...with target project</h3> <?php showProjectList($projects, false); ?> </div> </div> <br style="clear: both;" /> <?php if ($projects[0] == NULL || $projects[0] == "NULL") { include "../eqtl/footer.php"; exit; } // only the database of the source project needs to be opened $src_proj = $projects[0]; connectToQtlDBs(array($src_proj)); $qtldb = $compara_array[$src_proj]['connection']; $compara = connectToCompara(); // region selection
{ global $core; $formData = isset($_REQUEST["formData"]) ? json_decode($_REQUEST["formData"]) : false; if (!$formData) { echo "has no form data!"; return false; } echo $core->addNewWarning($formData); } if ($job == "showCategoryTree") { header('Content-Type: application/json'); showCategoryTree(); } if ($job == "showProjectList") { header('Content-Type: application/json'); showProjectList(); } if ($job == "getCityList") { $search = isset($_REQUEST["search"]) ? json_decode($_REQUEST["search"]) : ""; $start = isset($_REQUEST["start"]) ? intval($_REQUEST["start"]) : ""; $limit = isset($_REQUEST["limit"]) ? intval($_REQUEST["limit"]) : ""; //echo "DEBUG: start = ".$start.", limit = ".$limit.", search = ".$search; header('Content-Type: application/json'); echo $core->getCityList($search, $start, $limit); //print_r($list); } if ($job == "getAccessTemplateList") { $search = isset($_REQUEST["search"]) ? json_decode($_REQUEST["search"]) : ""; $start = isset($_REQUEST["start"]) ? intval($_REQUEST["start"]) : ""; $limit = isset($_REQUEST["limit"]) ? intval($_REQUEST["limit"]) : ""; //echo "DEBUG: start = ".$start.", limit = ".$limit.", search = ".$search;