Your IP : 216.73.216.240
<?php
/**
* @file
* ExtraWatch - Real-time visitor dashboard and stats
* @package ExtraWatch
* @version 5.0
* @revision 1
* @license http://www.gnu.org/licenses/gpl-3.0.txt GNU General Public License v3
* @copyright (C) 2024 by CodeGravity.com - All rights reserved!
* @website http://www.extrawatch.com
*/
if (!$this->extraWatchCmsSpecific->isAdmin()) {
die("Unauthorized access");
}
?>
<div style="margin: 20px;">
<form action="<?php echo($this->extraWatchCmsSpecific->getCMSURL().$this->extraWatchCmsSpecific->getComponentPage());?>&action=save" method="POST">
<img src="<?php echo($this->extraWatchCmsSpecific->getPluginsURL());?>/ew-plg-common/assets/img/logo.png"/>
<h2 class="title">Settings</h2>
<?php
$pluginOptionEmail = $this->extraWatchCmsSpecific->getPluginOptionEmail();
?>
<div>
<i>
This page allows you to specify / change your default email address which you will use
<br/>
to login to <a href="https://app.extrawatch.com">app.extrawatch.com</a> and project ID which has been created for your website.
</i>
<br/><br/>
</div>
<table>
<tr>
<td>Email:</td>
<td>
<input type="text" name="<?php echo(EXTRAWATCH_SETTING_EMAIL);?>" size="28"
value="<?php
echo $this->extraWatchCmsSpecific->escapeOutput($pluginOptionEmail ? $pluginOptionEmail : $this->extraWatchCmsSpecific->getAdminEmail());?>"/>
</td>
</tr>
<tr>
<td>
Project ID:
</td>
<td>
<input type="text" name="<?php echo(EXTRAWATCH_SETTING_PROJECT_ID);?>" size="28"
value="<?php echo $this->extraWatchCmsSpecific->escapeOutput($this->extraWatchCmsSpecific->getPluginOptionProjectId());?>"/>
</td>
</tr>
<tr>
<td>
</td>
<td>
<br/>
<i>Note: To check your project ID, go to <a href="https://app.extrawatch.com" target="_blank">app.extrawatch.com</a>.
<br/>Then, login with your credentials or use "forgot password" functionality.</i>
</td>
</tr>
<tr>
<td>
</td>
<td>
<br/>
<label>
<input type="checkbox" name="<?php echo(EXTRAWATCH_SETTING_TERMS);?>"/>
I agree with <a href="https://www.extrawatch.com/terms" target="_blank">terms and contitions</a>.
</label>
</td>
</tr>
<tr>
<td>
<br/>
<input type="submit" value="Save" class="button button-primary"/>
<input type="hidden" name="<?php echo(EXTRAWATCH_NONCE);?>" value="<?php echo $this->extraWatchCmsSpecific->createNonce(EXTRAWATCH_NONCE);?>" />
<input type="hidden" name="page" value="extrawatch-settings"/>
</td>
</tr>
<tr>
<td>
<br/>
</td>
</tr>
</table>
</form>
</div>