Blame view

administrator/components/com_jmap/views/cpanel/tmpl/default.php 32.6 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
<?php 
/** 
 * @package JMAP::CPANEL::administrator::components::com_jmap
 * @subpackage views
 * @subpackage cpanel
 * @subpackage tmpl
 * @author Joomla! Extensions Store
 * @copyright (C) 2015 - Joomla! Extensions Store
 * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html  
 */
defined ( '_JEXEC' ) or die ( 'Restricted access' ); 
?>

<div class="row-fluid">
	<div class="span12">
		<div class="row no-margin">
			<!-- CPANEL ICONS -->
			<div class="panel-group span6" id="accordion_cpanel_icons">
				<div class="panel panel-default">
				    <div class="panel-heading accordion-toggle accordion_lightblue noaccordion">
						<h4 class="panel-title">
							<span class="glyphicon glyphicon-tasks"></span>
							<?php echo JText::_('COM_JMAP_ICONS');?>
						</h4>
				    </div>
				    <div id="jmap_icons"  class="panel-collapse collapse in">
						<div class="panel-body">
							<?php echo $this->icons; ?>
							<div id="updatestatus">
								<?php 
								if(is_object($this->updatesData)) {
									if(version_compare($this->updatesData->latest, $this->currentVersion, '>')) { 
										$updatesACLClass = JFactory::getUser()->authorise('core.manage', 'com_installer') ? 'label-danger' : 'label-warning';?>
										<a href="http://storejextensions.org/extensions/jsitemap_professional.html" target="_blank" alt="storejoomla link">
											<label data-content="<?php echo JText::sprintf('COM_JMAP_GET_LATEST', $this->currentVersion, $this->updatesData->latest, $this->updatesData->relevance);?>" class="label <?php echo $updatesACLClass;?> hasPopover">
												<label class="glyphicon glyphicon-warning-sign"></label>
												<?php echo JText::sprintf('COM_JMAP_OUTDATED', $this->updatesData->latest);?>
											</label>
										</a>
									<?php } else { ?>
										<label data-content="<?php echo JText::sprintf('COM_JMAP_YOUHAVE_LATEST', $this->currentVersion);?>" class="label label-success hasPopover">
											<label class="glyphicon glyphicon-ok-sign"></label>
											<?php echo JText::sprintf('COM_JMAP_UPTODATE', $this->updatesData->latest);?>
										</label>	
									<?php }
									}
								?>
							</div>
						</div>
					</div>
				</div>
			</div>
			
			<!-- RIGHT ACCORDION -->
			<div class="panel-group span6" id="accordion_cpanel">
				<!-- SEO STATS -->
				<?php if($this->componentParams->get('seostats_enabled', '1')): ?>
				<div class="panel panel-default">
				    <div class="panel-heading accordion-toggle" data-toggle="collapse" data-parent="#accordion_cpanel" data-target="#seo_stats">
						<h4 class="panel-title">
							<span class="glyphicon glyphicon-stats"></span>
							<?php echo JText::sprintf('COM_JMAP_SEO_STATS', $this->componentParams->get('seostats_custom_link', JUri::root()));?>
						</h4>
				    </div>
				    <div id="seo_stats"  class="panel-collapse collapse">
						<div class="panel-body">
							<?php echo $this->loadTemplate($this->componentParams->get('seostats_service', 'alexa'));?>
						</div>
					</div>
				</div>
				<?php endif; ?>

				<!-- SITEMAP STATS -->
				<div class="panel panel-default">
				    <div class="panel-heading accordion-toggle" data-toggle="collapse" data-parent="#accordion_cpanel" data-target="#jmap_status">
						<h4 class="panel-title">
							<span class="glyphicon glyphicon-info-sign"></span>
							<?php echo JText::_('COM_JMAP_QUICK_STATS');?>
						</h4>
				    </div>
				    <div id="jmap_status"  class="panel-collapse collapse">
						<div class="panel-body">
							<!-- COMPONENT STATUS INDICATOR -->
							<ul class="cpanelinfo nav nav-pills">
							  <li class="active">
							    <a href="javascript:void(0);">
							      <span class="badge pull-right"><?php echo $this->infodata['publishedDataSource']?></span>
							      <?php echo JText::_('COM_JMAP_NUM_PUBLISHED_DATA_SOURCES');?>
							    </a>
							  </li>
							 
							  <li class="active">
							    <a href="javascript:void(0);">
							      <span class="badge pull-right"><?php echo $this->infodata['totalDataSource']?></span>
							      <?php echo JText::_('COM_JMAP_NUM_TOTAL_DATA_SOURCES');?>
							    </a>
							  </li>
							  
							  <li class="active">
							    <a href="javascript:void(0);">
							      <span class="badge pull-right"><?php echo $this->infodata['menuDataSource']?></span>
							      <?php echo JText::_('COM_JMAP_NUM_MENU_DATA_SOURCES');?>
							    </a>
							  </li>
							  
							  <li class="active">
							    <a href="javascript:void(0);">
							      <span class="badge pull-right"><?php echo $this->infodata['userDataSource']?></span>
							      <?php echo JText::_('COM_JMAP_NUM_USER_DATA_SOURCES');?>
							    </a>
							  </li>
							  
							  <li class="active">
							    <a href="javascript:void(0);">
							      <span class="badge pull-right"><?php echo $this->infodata['datasets']?></span>
							      <?php echo JText::_('COM_JMAP_NUM_PUBLISHED_DATASETS');?>
							    </a>
							  </li>
							</ul>
							
							<canvas id="chart_canvas"></canvas>
						</div>
				    </div>
				</div>
				
				<!-- ABOUT-->
				<div class="panel panel-default">
				    <div class="panel-heading accordion-toggle" data-toggle="collapse" data-parent="#accordion_cpanel" data-target="#jmap_about">
						<h4 class="panel-title">
							<span class="glyphicon glyphicon-question-sign"></span>
							<?php echo JText::_('COM_JMAP_ABOUT');?>
						</h4>
				    </div>
				    <div id="jmap_about"  class="panel-collapse collapse">
						<div class="panel-body">
							<div class="single_container">
						 		<label class="label label-warning"><?php echo JText::sprintf('COM_JMAP_VERSION', $this->currentVersion);?></label>
					 		</div>
					 		
					 		<div class="single_container">
						 		<label class="label label-info"><?php echo JText::_('COM_JMAP_AUTHOR_COMPONENT');?></label>
					 		</div>
					 		
					 		<div class="single_container">
						 		<label class="label label-info"><?php echo JText::_('COM_JMAP_SUPPORTLINK');?></label>
					 		</div>
					 		
					 		<div class="single_container">
						 		<label class="label label-info"><?php echo JText::_('COM_JMAP_DEMOLINK');?></label>
					 		</div>
						</div>
				    </div>
				</div>
			</div>
		</div>
		<div class="row no-margin">
			<!-- SEO CONTROL PANEL -->
			<div class="panel-group" id="accordion_cpanel_seo">
				<div class="panel panel-default">
				    <div class="panel-heading accordion-toggle accordion_lightblue noaccordion">
						<h4 class="panel-title">
							<span class="glyphicon glyphicon-dashboard"></span>
							<?php echo JText::_('COM_JMAP_JMAP_INFO_STATUS');?>
						</h4>
				    </div>
				    <div id="jmap_seo"  class="panel-collapse collapse in">
						<div class="panel-body">
							<!-- COMPONENT LINKS -->
							<div class="single_container">
					 			<label class="label label-primary"><?php echo JText::_('COM_JMAP_HTML_LINK')?></label>
					 			<?php if(!$this->showSefLinks || !$this->joomlaSefLinks):?>
					 				<input data-role="sitemap_links" data-html="1" class="sitemap_links" type="text" value="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap');?>" />
					 			<?php else:?>
					 				<input data-role="sitemap_links_sef" data-html="1" class="sitemap_links" type="text" data-valuenosef="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap');?>" value="<?php echo $this->livesitesef . preg_replace('/(\/[A-Za-z0-9_-~]*)*\/administrator\//i', '/', $this->siteRouter->build('index.php?option=com_jmap&view=sitemap&format=html' . $this->siteItemid));?>"/>
					 			<?php endif;?>
					 		</div>
				 			<div class="single_container xmlcontainer">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_APPEND_LANG_PARAM');?>"><?php echo JText::_('COM_JMAP_XML_LINK')?></label>
						 		<?php if(!$this->showSefLinks || !$this->joomlaSefLinks):?>
						 			<input data-role="sitemap_links" class="sitemap_links" type="text" value="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=xml');?>" />
						 		<?php else:?>
						 			<input data-role="sitemap_links_sef" class="sitemap_links" type="text" data-valuenosef="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=xml');?>" value="<?php echo $this->livesitesef . preg_replace('/(\/[A-Za-z0-9_-~]*)*\/administrator\//i', '/', $this->siteRouter->build('index.php?option=com_jmap&view=sitemap&format=xml' . $this->siteItemid));?>" />
						 		<?php endif;?>
						 		<?php 
						 			$concatenatePingXmlFormat = "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.google.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=xml') . "'>" . JText::_('COM_JMAP_PING_GOOGLE') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.bing.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=xml') . "'>" . JText::_('COM_JMAP_PING_BING') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://blogs.yandex.ru/pings/?status=success&url=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=xml') . "'>" . JText::_('COM_JMAP_PING_YANDEX') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' data-type='rpc' class='pinger glyphicon glyphicon-flash' href='http://ping.baidu.com/ping/RPC2?" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=xml') . "'>" . JText::_('COM_JMAP_PING_BAIDU') . "</a>";
						 		?>
						 		<label class="glyphicon glyphicon-flash hasClickPopover hasTooltip" title="<?php echo JText::_('COM_JMAP_PING_SITEMAP');?>" data-content="<?php echo $concatenatePingXmlFormat;?>"></label>
						 		<label class="glyphicon glyphicon-pencil hasTooltip" title="<?php echo JText::_('COM_JMAP_ROBOTS_SITEMAP_ENTRY');?>" data-role="saveentity"></label>
								<?php if($this->componentParams->get('enable_precaching', 0)):?>
									<label class="glyphicon glyphicon-download-alt hasTooltip" title="<?php echo JText::_('COM_JMAP_START_PRECACHING');?>" data-role="startprecaching"></label>
									<span class="label label-danger hasTooltip" title="<?php echo JText::_('COM_JMAP_PRECACHING_STATUS');?>"><?php echo JText::_('COM_JMAP_PRECACHING_NOT_CACHED');?></span>
						 		<?php endif;?>
					 		</div>
					 		
					 		<div class="single_container xmlcontainer">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_APPEND_LANG_PARAM');?>"><?php echo JText::_('COM_JMAP_XML_IMAGES_LINK')?></label>
						 		<?php if(!$this->showSefLinks || !$this->joomlaSefLinks):?>
						 			<input data-role="sitemap_links" class="sitemap_links" type="text" value="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=images');?>" />
						 		<?php else:?>
						 			<input data-role="sitemap_links_sef" class="sitemap_links" type="text" data-valuenosef="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=images');?>" value="<?php echo $this->livesitesef . preg_replace('/(\/[A-Za-z0-9_-~]*)*\/administrator\//i', '/', $this->siteRouter->build('index.php?option=com_jmap&view=sitemap&format=images' . $this->siteItemid));?>" />
						 		<?php endif;?>
						 		<?php 
						 			$concatenatePingXmlFormat = "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.google.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=images') . "'>" . JText::_('COM_JMAP_PING_GOOGLE') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.bing.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=images') . "'>" . JText::_('COM_JMAP_PING_BING') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://blogs.yandex.ru/pings/?status=success&url=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=images') . "'>" . JText::_('COM_JMAP_PING_YANDEX') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' data-type='rpc' class='pinger glyphicon glyphicon-flash' href='http://ping.baidu.com/ping/RPC2?" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=images') . "'>" . JText::_('COM_JMAP_PING_BAIDU') . "</a>";
						 		?>
						 		<label class="glyphicon glyphicon-flash hasClickPopover hasTooltip" title="<?php echo JText::_('COM_JMAP_PING_SITEMAP');?>" data-content="<?php echo $concatenatePingXmlFormat;?>"></label>
						 		<label class="glyphicon glyphicon-pencil hasTooltip" title="<?php echo JText::_('COM_JMAP_ROBOTS_SITEMAP_ENTRY');?>" data-role="saveentity"></label>
					 			<?php if($this->componentParams->get('enable_precaching', 0)):?>
									<label class="glyphicon glyphicon-download-alt hasTooltip" title="<?php echo JText::_('COM_JMAP_START_PRECACHING');?>" data-role="startprecaching"></label>
									<span class="label label-danger hasTooltip" title="<?php echo JText::_('COM_JMAP_PRECACHING_STATUS');?>"><?php echo JText::_('COM_JMAP_PRECACHING_NOT_CACHED');?></span>
						 		<?php endif;?>
					 		</div>
					 		
					 		<div class="single_container xmlcontainer">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_APPEND_LANG_PARAM');?>"><?php echo JText::_('COM_JMAP_XML_GNEWS_LINK')?></label>
						 		<?php if(!$this->showSefLinks || !$this->joomlaSefLinks):?>
						 			<input data-role="sitemap_links" class="sitemap_links" type="text" value="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=gnews');?>" />
						 		<?php else:?>	
						 			<input data-role="sitemap_links_sef" class="sitemap_links" type="text" data-valuenosef="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=gnews');?>" value="<?php echo $this->livesitesef . preg_replace('/(\/[A-Za-z0-9_-~]*)*\/administrator\//i', '/', $this->siteRouter->build('index.php?option=com_jmap&view=sitemap&format=gnews' . $this->siteItemid));?>" />
						 		<?php endif;?>
						 		<?php 
						 			$concatenatePingXmlFormat = "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.google.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=gnews') . "'>" . JText::_('COM_JMAP_PING_GOOGLE') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.bing.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=gnews') . "'>" . JText::_('COM_JMAP_PING_BING') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://blogs.yandex.ru/pings/?status=success&url=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=gnews') . "'>" . JText::_('COM_JMAP_PING_YANDEX') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' data-type='rpc' class='pinger glyphicon glyphicon-flash' href='http://ping.baidu.com/ping/RPC2?" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=gnews') . "'>" . JText::_('COM_JMAP_PING_BAIDU') . "</a>";
						 		?>
						 		<label class="glyphicon glyphicon-flash hasClickPopover hasTooltip" title="<?php echo JText::_('COM_JMAP_PING_SITEMAP');?>" data-content="<?php echo $concatenatePingXmlFormat;?>"></label>
						 		<label class="glyphicon glyphicon-pencil hasTooltip" title="<?php echo JText::_('COM_JMAP_ROBOTS_SITEMAP_ENTRY');?>" data-role="saveentity"></label>
					 			<?php if($this->componentParams->get('enable_precaching', 0)):?>
									<label class="glyphicon glyphicon-download-alt hasTooltip" title="<?php echo JText::_('COM_JMAP_START_PRECACHING');?>" data-role="startprecaching"></label>
									<span class="label label-danger hasTooltip" title="<?php echo JText::_('COM_JMAP_PRECACHING_STATUS');?>"><?php echo JText::_('COM_JMAP_PRECACHING_NOT_CACHED');?></span>
						 		<?php endif;?>
					 		</div> 
					 		
					 		<div class="single_container xmlcontainer">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_XML_MOBILE_DISCLAIMER');?>"><?php echo JText::_('COM_JMAP_XML_MOBILE_LINK')?></label>
						 		<?php if(!$this->showSefLinks || !$this->joomlaSefLinks):?>
						 			<input data-role="sitemap_links" class="sitemap_links" type="text" value="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=mobile');?>" />
						 		<?php else:?>
						 			<input data-role="sitemap_links_sef" class="sitemap_links" type="text" data-valuenosef="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=mobile');?>" value="<?php echo $this->livesitesef . preg_replace('/(\/[A-Za-z0-9_-~]*)*\/administrator\//i', '/', $this->siteRouter->build('index.php?option=com_jmap&view=sitemap&format=mobile' . $this->siteItemid));?>" />
						 		<?php endif;?>
						 		<?php 
						 			$concatenatePingXmlFormat = "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.google.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=mobile') . "'>" . JText::_('COM_JMAP_PING_GOOGLE') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.bing.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=mobile') . "'>" . JText::_('COM_JMAP_PING_BING') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://blogs.yandex.ru/pings/?status=success&url=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=mobile') . "'>" . JText::_('COM_JMAP_PING_YANDEX') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' data-type='rpc' class='pinger glyphicon glyphicon-flash' href='http://ping.baidu.com/ping/RPC2?" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=mobile') . "'>" . JText::_('COM_JMAP_PING_BAIDU') . "</a>";
						 		?>
						 		<label class="glyphicon glyphicon-flash hasClickPopover hasTooltip" title="<?php echo JText::_('COM_JMAP_PING_SITEMAP');?>" data-content="<?php echo $concatenatePingXmlFormat;?>"></label>
						 		<label class="glyphicon glyphicon-pencil hasTooltip" title="<?php echo JText::_('COM_JMAP_ROBOTS_SITEMAP_ENTRY');?>" data-role="saveentity"></label>
					 			<?php if($this->componentParams->get('enable_precaching', 0)):?>
									<label class="glyphicon glyphicon-download-alt hasTooltip" title="<?php echo JText::_('COM_JMAP_START_PRECACHING');?>" data-role="startprecaching"></label>
									<span class="label label-danger hasTooltip" title="<?php echo JText::_('COM_JMAP_PRECACHING_STATUS');?>"><?php echo JText::_('COM_JMAP_PRECACHING_NOT_CACHED');?></span>
						 		<?php endif;?>
					 		</div> 
					 		
					 		<div class="single_container xmlcontainer">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_APPEND_LANG_PARAM');?>"><?php echo JText::_('COM_JMAP_XML_VIDEOS_LINK')?></label>
						 		<?php if(!$this->showSefLinks || !$this->joomlaSefLinks):?>
						 			<input data-role="sitemap_links" class="sitemap_links" type="text" value="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=videos');?>" />
						 		<?php else:?>
						 			<input data-role="sitemap_links_sef" class="sitemap_links" type="text" data-valuenosef="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=videos');?>" value="<?php echo $this->livesitesef . preg_replace('/(\/[A-Za-z0-9_-~]*)*\/administrator\//i', '/', $this->siteRouter->build('index.php?option=com_jmap&view=sitemap&format=videos' . $this->siteItemid));?>" />
						 		<?php endif;?>
						 		<?php 
						 			$concatenatePingXmlFormat = "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.google.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=videos') . "'>" . JText::_('COM_JMAP_PING_GOOGLE') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.bing.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=videos') . "'>" . JText::_('COM_JMAP_PING_BING') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://blogs.yandex.ru/pings/?status=success&url=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=videos') . "'>" . JText::_('COM_JMAP_PING_YANDEX') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' data-type='rpc' class='pinger glyphicon glyphicon-flash' href='http://ping.baidu.com/ping/RPC2?" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=videos') . "'>" . JText::_('COM_JMAP_PING_BAIDU') . "</a>";
						 		?>
						 		<label class="glyphicon glyphicon-flash hasClickPopover hasTooltip" title="<?php echo JText::_('COM_JMAP_PING_SITEMAP');?>" data-content="<?php echo $concatenatePingXmlFormat;?>"></label>
						 		<label class="glyphicon glyphicon-pencil hasTooltip" title="<?php echo JText::_('COM_JMAP_ROBOTS_SITEMAP_ENTRY');?>" data-role="saveentity"></label>
					 			<?php if($this->componentParams->get('enable_precaching', 0)):?>
									<label class="glyphicon glyphicon-download-alt hasTooltip" title="<?php echo JText::_('COM_JMAP_START_PRECACHING');?>" data-role="startprecaching"></label>
									<span class="label label-danger hasTooltip" title="<?php echo JText::_('COM_JMAP_PRECACHING_STATUS');?>"><?php echo JText::_('COM_JMAP_PRECACHING_NOT_CACHED');?></span>
						 		<?php endif;?>
					 		</div>

							<div class="single_container xmlcontainer">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_XML_HREFLANG_DISCLAIMER');?>"><?php echo JText::_('COM_JMAP_XML_HREFLANG_LINK')?></label>
						 		<?php if(!$this->showSefLinks || !$this->joomlaSefLinks):?>
						 			<input data-role="sitemap_links" data-language="1" class="sitemap_links" type="text" value="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=hreflang');?>" />
						 		<?php else:?>
						 			<input data-role="sitemap_links_sef" data-language="1" class="sitemap_links" type="text" data-valuenosef="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=hreflang');?>" value="<?php echo $this->livesitesef . preg_replace('/(\/[A-Za-z0-9_-~]*)*\/administrator\//i', '/', $this->siteRouter->build('index.php?option=com_jmap&view=sitemap&format=hreflang' . $this->siteItemid));?>" />
						 		<?php endif;?>
						 		<?php 
						 			$concatenatePingXmlFormat = "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.google.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=hreflang') . "'>" . JText::_('COM_JMAP_PING_GOOGLE') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.bing.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=hreflang') . "'>" . JText::_('COM_JMAP_PING_BING') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://blogs.yandex.ru/pings/?status=success&url=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=hreflang') . "'>" . JText::_('COM_JMAP_PING_YANDEX') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' data-type='rpc' class='pinger glyphicon glyphicon-flash' href='http://ping.baidu.com/ping/RPC2?" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=hreflang') . "'>" . JText::_('COM_JMAP_PING_BAIDU') . "</a>";
						 		?>
						 		<label class="glyphicon glyphicon-flash hasClickPopover hasTooltip" title="<?php echo JText::_('COM_JMAP_PING_SITEMAP');?>" data-content="<?php echo $concatenatePingXmlFormat;?>"></label>
						 		<label class="glyphicon glyphicon-pencil hasTooltip" title="<?php echo JText::_('COM_JMAP_ROBOTS_SITEMAP_ENTRY');?>" data-role="saveentity"></label>
					 			<?php if($this->componentParams->get('enable_precaching', 0)):?>
									<label class="glyphicon glyphicon-download-alt hasTooltip" title="<?php echo JText::_('COM_JMAP_START_PRECACHING');?>" data-role="startprecaching"></label>
									<span class="label label-danger hasTooltip" title="<?php echo JText::_('COM_JMAP_PRECACHING_STATUS');?>"><?php echo JText::_('COM_JMAP_PRECACHING_NOT_CACHED');?></span>
						 		<?php endif;?>
					 		</div>
					 		
					 		<?php if($this->componentParams->get('amp_sitemap_enabled', 0) && trim($this->componentParams->get('amp_suffix', null))):?>
					 		<div class="single_container xmlcontainer">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_XML_AMP_DISCLAIMER');?>"><?php echo JText::_('COM_JMAP_XML_AMP_LINK')?></label>
						 		<?php if(!$this->showSefLinks || !$this->joomlaSefLinks):?>
						 			<input data-role="sitemap_links" class="sitemap_links" type="text" value="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=amp');?>" />
						 		<?php else:?>
						 			<input data-role="sitemap_links_sef" class="sitemap_links" type="text" data-valuenosef="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=amp');?>" value="<?php echo $this->livesitesef . preg_replace('/(\/[A-Za-z0-9_-~]*)*\/administrator\//i', '/', $this->siteRouter->build('index.php?option=com_jmap&view=sitemap&format=amp' . $this->siteItemid));?>" />
						 		<?php endif;?>
						 		<?php 
						 			$concatenatePingXmlFormat = "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.google.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=amp') . "'>" . JText::_('COM_JMAP_PING_GOOGLE') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.bing.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=amp') . "'>" . JText::_('COM_JMAP_PING_BING') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://blogs.yandex.ru/pings/?status=success&url=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=amp') . "'>" . JText::_('COM_JMAP_PING_YANDEX') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' data-type='rpc' class='pinger glyphicon glyphicon-flash' href='http://ping.baidu.com/ping/RPC2?" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=sitemap&format=amp') . "'>" . JText::_('COM_JMAP_PING_BAIDU') . "</a>";
						 		?>
						 		<label class="glyphicon glyphicon-flash hasClickPopover hasTooltip" title="<?php echo JText::_('COM_JMAP_PING_SITEMAP');?>" data-content="<?php echo $concatenatePingXmlFormat;?>"></label>
						 		<label class="glyphicon glyphicon-pencil hasTooltip" title="<?php echo JText::_('COM_JMAP_ROBOTS_SITEMAP_ENTRY');?>" data-role="saveentity"></label>
								<?php if($this->componentParams->get('enable_precaching', 0)):?>
									<label class="glyphicon glyphicon-download-alt hasTooltip" title="<?php echo JText::_('COM_JMAP_START_PRECACHING');?>" data-role="startprecaching"></label>
									<span class="label label-danger hasTooltip" title="<?php echo JText::_('COM_JMAP_PRECACHING_STATUS');?>"><?php echo JText::_('COM_JMAP_PRECACHING_NOT_CACHED');?></span>
						 		<?php endif;?>
					 		</div>
					 		<?php endif;?>
					 		
					 		<?php if($this->componentParams->get('geositemap_enabled', 0) && trim($this->componentParams->get('geositemap_address', null))):?>
					 		<div class="single_container xmlcontainer">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_XML_GEOSITEMAP_DISCLAIMER');?>"><?php echo JText::_('COM_JMAP_XML_GEOSITEMAP_LINK')?></label>
						 		<?php if(!$this->showSefLinks || !$this->joomlaSefLinks):?>
						 			<input data-role="sitemap_links" data-language="1" class="sitemap_links" type="text" value="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=geositemap&format=xml');?>" />
						 		<?php else:?>
						 			<input data-role="sitemap_links_sef" data-language="1" class="sitemap_links" type="text" data-valuenosef="<?php echo JFilterOutput::ampReplace($this->livesite . '/index.php?option=com_jmap&view=geositemap&format=xml');?>" value="<?php echo $this->livesitesef . preg_replace('/(\/[A-Za-z0-9_-~]*)*\/administrator\//i', '/', $this->siteRouter->build('index.php?option=com_jmap&view=geositemap&format=xml' . $this->siteItemid));?>" />
						 		<?php endif;?>
						 		<?php 
						 			$concatenatePingXmlFormat = "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.google.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=geositemap&format=xml') . "'>" . JText::_('COM_JMAP_PING_GOOGLE') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://www.bing.com/ping?sitemap=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=geositemap&format=xml') . "'>" . JText::_('COM_JMAP_PING_BING') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' class='pinger glyphicon glyphicon-flash' href='https://blogs.yandex.ru/pings/?status=success&url=" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=geositemap&format=xml') . "'>" . JText::_('COM_JMAP_PING_YANDEX') . "</a>";
						 			$concatenatePingXmlFormat .= "<a data-role='pinger' data-type='rpc' class='pinger glyphicon glyphicon-flash' href='http://ping.baidu.com/ping/RPC2?" . rawurlencode($this->livesite . '/index.php?option=com_jmap&view=geositemap&format=xml') . "'>" . JText::_('COM_JMAP_PING_BAIDU') . "</a>";
						 		?>
						 		<label class="glyphicon glyphicon-flash hasClickPopover hasTooltip" title="<?php echo JText::_('COM_JMAP_PING_SITEMAP');?>" data-content="<?php echo $concatenatePingXmlFormat;?>"></label>
						 		<label class="glyphicon glyphicon-pencil hasTooltip" title="<?php echo JText::_('COM_JMAP_ROBOTS_SITEMAP_ENTRY');?>" data-role="saveentity"></label>
						 		<a class="glyphicon glyphicon-map-marker hasTooltip fancybox" title="<?php echo JText::_('COM_JMAP_OPEN_GEOLOCATION_MAP');?>" href="#gmap" data-role="opengmap"></a><div id="gmap"></div>
							</div>
					 		<?php endif;?>

					 		<!-- LANGUAGE SELECT LIST -->
					 		<?php if($this->lists['languages']):?>
					 		<div class="single_container language">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_CHOOSE_LANGUAGE');?>"><?php echo JText::_('COM_JMAP_CHOOSE_LANG')?></label>
						 		<?php echo $this->lists['languages'];?>
					 		</div>
					 		<?php endif;?>
					 		
					 		<!-- DATASETS SELECT LIST -->
					 		<?php if($this->lists['datasets_filters']):?>
					 		<div class="single_container language">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_CHOOSE_DATASET_DESC');?>"><?php echo JText::_('COM_JMAP_CHOOSE_DATASET')?></label>
						 		<?php echo $this->lists['datasets_filters'];?>
					 		</div>
					 		<?php endif;?>
					 		
					 		<!-- MENU FILTERS SELECT LIST -->
					 		<?php if($this->lists['menu_datasource_filters']):?>
					 		<div class="single_container language">
						 		<label class="label label-primary hasPopover" data-content="<?php echo JText::_('COM_JMAP_CHOOSE_MENU_DESC');?>"><?php echo JText::_('COM_JMAP_CHOOSE_MENU')?></label>
						 		<?php echo $this->lists['menu_datasource_filters'] ;?>
					 		</div>
					 		<?php endif;?>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<form name="adminForm" id="adminForm" action="index.php">
		<input type="hidden" name="option" value="<?php echo $this->option;?>"/>
		<input type="hidden" name="task" value=""/>
	</form>
</div>