<div class="modal fade" id="mdlDirectTraffic" tabindex="-1" role="dialog" aria-labelledby="directModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg modal-dialog-centered" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title" id="directModalLabel">Direct Traffic Code for Landing Page <span id="mdlDirectTrafficLpName1"></span></h5>
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
			</div>
			<div class="modal-body">
				<div id="mdlDirectTrafficDivOk">
					<h6 class="mb-3">Use ONLY ONE of the 2 variations below for Direct Traffic Code in your Landing Page named "<b><span id="mdlDirectTrafficLpName2"></span></b>".</h6>
					<p>Paste the Direct Traffic code in the HTML of the page before the before the &lt;/body&gt; ending tag.</p>
					<p>Make sure that all landing pages from your campaign have unique IDs assigned to them.</p>
					<div class="form-group">
						<label>JavaScript (preferred, works in any page):</label>
						<div class="input-group">
							<input type="text" id="txtMdlDirectCodeJs" class="form-control back-diff" readonly="readonly" onclick="select_all(this)"/>
							{include file="partCopyClipboard.tpl"}
						</div>
					</div>
					<div class="form-group">
						<label>PHP (only if your page is .php):</label>
						<div class="input-group">
							<input type="text" id="txtMdlDirectCodePhp" class="form-control back-diff" readonly="readonly" onclick="select_all(this)"/>
							{include file="partCopyClipboard.tpl"}
						</div>
					</div>
					<div id="mdlDirectTrafficDivError" style="display:none" class="text-red font-weight-bold">
						Please set a numeric ID to your Landing Page (greater than 0)!<br/><br/>
						Make sure that all landing pages from your campaign have unique IDs assigned to them.
					</div>

					<p class="mt-4 mb-0">More details about Direct Traffic code can be found in
						<a href="https://doc.cpvlab.pro/direct-traffic.html" target="_blank">the Online Documentation</a>.
					</p>
				</div>
			</div>

			<div class="modal-footer">
				<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
				<!--<button type="button" class="btn btn-primary">Save changes</button>-->
			</div>
		</div>
	</div>
</div>
