</a></p></td>
<td class=LogTab nowrap><p class=TabsMenu><a href="<?php 
echo getURL("visitor_path", $Get, "report");
?>
"><?php 
echo $Lang['Paths'];
?>
</a></p></td>
<td width=100%	style="border-left-style:solid;	border-left-width:1px;	border-left-color:e5e5e5;	border-bottom-style:solid;
	border-bottom-width:1px;	border-bottom-color:#C8C8C8;">&nbsp;</td>
</tr></table>

</td></tr><tr><td width=100% style="border-left-style:solid;border-left-width:1px;border-left-color:#C7C7C7; border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#C7C7C7; border-right-style:solid;border-right-width:1px;border-right-color:#C7C7C7;">

<?php 
GetFORM();
?>
<input type=hidden name="CpId" value="<?php 
echo $CpId;
?>
">
<input type=hidden name="Limit" value="<?php 
echo $Limit;
?>
">
<input type=hidden name="Start" value="<?php 
echo $Start;
?>
">
<input type=hidden name="Mode" value="<?php 
echo $Mode;
<input type=hidden name=Mode value="Update">
<input type=submit value="<?php 
    echo $Lang['UpdateGrp'];
    ?>
">
</form>
<?php 
}
?>
</td></tr></table>

</td></tr>


<?php 
GetFORM(false, false, false, "name=\"SelectForm\"");
?>
<input type=hidden name=Srch value="<?php 
echo htmlspecialchars($Srch);
?>
">
<input type=hidden name=GrpId value="<?php 
echo htmlspecialchars($GrpId);
?>
">
<input type=hidden name=Mode value="<?php 
echo $Mode;
?>
">

<tr><td width=50%>
    echo $Lang['OptWarning'];
    ?>
');">
</form>
<?php 
}
?>
</td></tr>


<?php 
if ($nsUser->ADMIN || $nsUser->SUPER_USER) {
    ?>

	<?php 
    GetFORM(false, false, false, "ID=\"REMOVE_FORM\"");
    ?>
	<?php 
    if (count($ClientsArr > 0)) {
        ?>
		<tr>
		<input type=hidden name=DoClear value=1>
		<td><?php 
        echo $Lang['ClearStat'];
        ?>
</td>
		</tr>
		<?php 
        if (!ValidId($CurrentCompany->ID) || $CurrentCompany->SITE_CNT > 0) {
            ?>
			<tr><td>
?>
";

function GroupSelection(SelObj)
{
	if (!SelObj.value) SelObj.selectedIndex++;	
}

//-->
</SCRIPT>


<div class=FormDiv>

<?php 
GetFORM(false, false, false, "ID=\"ConstructorForm\"");
?>
<input type=hidden name=CpId value=<?php 
echo $CpId;
?>
>
<input type=hidden name=CurrentGroupBy value="<?php 
echo $GroupBy;
?>
">
<input type=hidden id=ShowFilter name=ShowFilter value="<?php 
echo $ShowFilter;
?>
">
<input type=hidden name=FormUsed value="1">
<?php

include $nsTemplate->Inc("inc/header");
include $nsTemplate->Inc("inc/submenu");
?>



<?php 
if ($nsUser->ADMIN && ValidArr($CompArr) && count($CompArr) > 1) {
    ?>
	<div class=FormDiv>
	<?php 
    GetFORM("visitor_grp", "EditId=new", "admin");
    ?>
	<table width=100%>
	<tr><td class=FormHeader>
	<select name=CpId>
	<?php 
    for ($i = 0; $i < Count($CompArr); $i++) {
        ?>
	<option value=<?php 
        echo $CompArr[$i]->ID;
        ?>
 <?php 
        echo $CompArr[$i]->ID == $SelectCpId ? "selected" : "";
        ?>
><?php 
        echo $CompArr[$i]->NAME;
        ?>
</option>
Exemple #6
0
" BORDER="0" ALT=""><?php 
}
?>
</p>
</td>
<td height=62>

<table border="0" cellpadding="0" cellspacing="0" width="100%" height="62"><tr>
<td width="20" valign="bottom" bgcolor="#707070">
<p><img src="<?php 
echo FileLink("images/corn_01.gif");
?>
" width="20" height="13" border="0"></p>
</td><td bgcolor="#707070" valign="top">
<?php 
GetFORM("client_page", "", "admin", "ID=COMP_SEL_FORM");
?>
<img src="<?php 
echo FileLink("images/0.gif");
?>
" width="1" height="27" border="0"><br>

<?php 
if (is_array($CompArr)) {
    ?>
<select name=CpId class=ClientSelect onchange="document.all.COMP_SEL_FORM.submit();">
<option class=CompSelect value="nocomp"></option>
<?php 
    for ($i = 0; $i < count($CompArr); $i++) {
        $RowName = htmlspecialchars(stripslashes($CompArr[$i]->NAME));
        if (strlen($RowName) > 45) {
<?php

if ($GLOBALS['FirstIter'] == true) {
    GetFORM(false, false, false, "ID=\"MOVE_FORM\" NAME=\"MOVE_FORM\"");
    ?>
<input ID="MoveId" type=hidden name=MoveId value=0>
<input ID="MoveTo" type=hidden name=MoveTo value=0>
</form>

<script language="JavaScript" src="<?php 
    echo FileLink("campaign.js");
    ?>
"></script>

<table width=100% cellpadding=0 cellspacing=0 border=0 style="border-bottom: 1px solid #cccccc;margin-bottom:5px;"><tr><td style="padding:5px;">
<span class=CaptionText><?php 
    echo $Lang['CampaignGroups'];
    ?>
</span>
</td></tr></table>
<div ID="MoveRadio[ROOT]" style="display:none"><input type=radio onclick="SubmitMoveForm('ROOT')"> <?php 
    echo $Lang['ToRoot'];
    ?>
</div>

<?php 
}
$GLOBALS['FirstIter'] = false;
echo "<SCRIPT LANGUAGE=JavaScript>\n<!--\n";
for ($i = 0; $i < count($CampArr); $i++) {
    echo "AllowIds[" . $CampArr[$i]->ID . "]=" . $CampArr[$i]->PARENT_ID . ";\n";
</a></p></td>
<td class=LogTab2 nowrap><p class=TabsMenu><a href="<?php 
echo getURL("visitor_path", $Get, "report");
?>
"><?php 
echo $Lang['Paths'];
?>
</a></p></td>
<td width=100%	style="border-left-style:solid;	border-left-width:1px;	border-left-color:e5e5e5;	border-bottom-style:solid;
	border-bottom-width:1px;	border-bottom-color:#C8C8C8;">&nbsp;</td>
</tr></table>

</td></tr><tr><td width=100% style="border-left-style:solid;border-left-width:1px;border-left-color:#C7C7C7; border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#C7C7C7; border-right-style:solid;border-right-width:1px;border-right-color:#C7C7C7;">
<!-- фильтры -->
<?php 
GetFORM(false, false, false, "ID=\"VisForm\"");
?>
<input type=hidden name="CpId" value="<?php 
echo $CpId;
?>
">
<?php 
if (count($SitesArr) < 2) {
    ?>
<input type=hidden name="SiteId" value="<?php 
    echo $SiteId;
    ?>
"><?php 
}
?>
<input type=hidden name="GrpId" value="<?php 
</form>
</table>
</div>




<SCRIPT LANGUAGE="JavaScript">
<!--
ReDrawSelect();
SelObj.selectedIndex=0;
PrepareButtons(SelObj);
//-->
</SCRIPT>

<?php 
GetFORM(false, false, false, "ID=\"ByDefaultForm\"");
?>
<input type=hidden name="ClearOrder" value="1">
<input type=hidden name="CompanyId" value="<?php 
echo $CompanyId;
?>
">
<input type=hidden name="Mode" value="<?php 
echo $Mode;
?>
">
</form>

<?php 
include $nsTemplate->Inc("inc/footer");
Exemple #10
0
echo $Lang['DoExport'];
?>
">
</p></td></tr>

</table>
</form>
</td><td width=34% valign=top>


<?php 
if ($GroupBy != "General" && !ValidId($ConstId) && $CpId > 0) {
    ?>

<?php 
    GetFORM("save_report", "", "admin");
    for ($i = 0; $i < count($WhereArr); $i++) {
        ?>
<input type=hidden name="WhereArr[<?php 
        echo $i;
        ?>
][Mode]" value="<?php 
        echo $WhereArr[$i]['Mode'];
        ?>
">
<input type=hidden name="WhereArr[<?php 
        echo $i;
        ?>
][Id]" value="<?php 
        echo $WhereArr[$i]['Id'];
        ?>