<?php
require_once 'rover-templates.php';

class Rover_IDX_ADMINLEADGEN
	{
	private Rover_IDX $rover_idx;

	public function __construct(Rover_IDX $rover_idx)
		{
		$this->rover_idx						= $rover_idx;
		}

	public function roveridx_panel_lead_form() {

		$rover_content							= $this->rover_idx->CONTENT->rover_content(
																	'ROVER_COMPONENT_WP_LEAD_GENERATION_PANEL'
																	);

		$TEMPLATES								= new Rover_IDX_ADMINTEMPLATES($this->rover_idx);
		?>
		<div class="wrap" data-page="rover-panel-lead-generation">

			<?php echo $TEMPLATES->roveridx_panel_header();	?>

			<div id="rover_lead_generation">
				<?php echo $rover_content['the_html'];	?>

				<?php echo $TEMPLATES->roveridx_panel_footer($panel = 'lead_generation');	?>
			</div>

		</div><!-- wrap	-->

		<?php
		}
	}

?>