" . $jobData["tour"][$j]["tr_comp2"] . "
"
. $jobData["tour"][$j]["ad_street"] . " " . $jobData["tour"][$j]["tr_hsno"] . "
"
. $jobData["tour"][$j]["ad_zipcode"] . " " . $jobData["tour"][$j]["ad_city"] . "
"
. $jobData["tour"][$j]["tr_phone"] . "
";
endfor;
endfor;
else :
// Example
$arrayBox[0] = array("5" => "Test5Box1", "1" => "Test1Box1", "2" => "Test2Box1", "3" => "Test3Box1");
$arrayBox[1] = array("6" => "Test1Box2", "7" => "Test2Box2", "8" => "Test3Box2");
$arrayBox[2] = array("9" => "Test1Box3", "10" => "Test2Box3", "11" => "Test3Box3", "12" => "Test4Box3");
$arrayBox[3] = array("15" => "Test3Box4", "14" => "Test2Box4", "13" => "Test1Box4");
endif;
if ($numOfContainer == "") : $numOfContainer = 0; endif;
// print_r($arrayBox);
$sortableBoxes = "";
for ($i = 0; $i < $numOfContainer; $i++) :
// Sort array if requested
if ($doSortArray == "1") :
ksort($arrayBox[$i]);
endif;
if ($sortableBoxes != "") : $sortableBoxes .= ", "; endif;
$sortableBoxes .= "#divBox" . $i;
endfor;
// Generate container output
function drawBox ($arrayBox, $numOfContainer) {
global $objIdArray;
$html_output = "";
for ($i = 0; $i < $numOfContainer; $i++) :
$html_output .= '