

<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<link rel="icon" type="image/png" href="../assets/img/favicon.ico">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

	<title>SellerStats</title>

	<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
    <meta name="viewport" content="width=device-width" />


    <!-- Bootstrap core CSS     -->
    <link href="../assets/css/bootstrap.min.css" rel="stylesheet" />

    <!--  Light Bootstrap Dashboard core CSS    -->
    <link href="../assets/css/light-bootstrap-dashboard.css" rel="stylesheet"/>


    <!--     Fonts and icons     -->
    <link href="../assets/css/font-awesome.min.css" rel="stylesheet">
    <link href='https://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'>
    <link href="../assets/css/pe-icon-7-stroke.css" rel="stylesheet" />

	<link href="lib/noty.css" rel="stylesheet">
	<script src="lib/noty.min.js" type="text/javascript"></script>
	<script>
		Noty.overrideDefaults({
			layout   : 'topRight',
			theme    : 'relax',
			timeout: 2000,
			closeWith: ['click', 'button']
		});
	</script>	
	

</head>
<body>

<div class="wrapper">
    <div class="sidebar" data-color="black" data-image="../assets/img/sidebar-img.jpg">


        <div class="logo">
            <a href="#" class="logo-text">
                SellerStats
            </a>
        </div>
		<div class="logo logo-mini">
			<a href="#" class="logo-text">
				SS
			</a>
		</div>

    	<div class="sidebar-wrapper">

			<ul class="nav">
                <li>
                    <a href="dashboard.php">
                        <i class="pe-7s-note2"></i>
                        <p>Switch Accounts</p>
                    </a>
                </li>
                <li class="active">
                    <a href="account.php">
                        <i class="pe-7s-tools"></i>
                        <p>Tools</p>
                    </a>
                </li>
				<li>
                    <a href="settings.php">
                        <i class="pe-7s-settings"></i>
                        <p>Settings</p>
                    </a>
                </li>
				<li>
                    <a href="help.php">
                        <i class="pe-7s-help2"></i>
                        <p>Help</p>
                    </a>
                </li>
                
            </ul>
            
    	</div>
    </div>

    <div class="main-panel">
		<nav class="navbar navbar-default">
			<div class="container-fluid">
				<div class="navbar-minimize">
					<button id="minimizeSidebar" class="btn btn-black btn-fill btn-round btn-icon">
						<i class="fa fa-ellipsis-v visible-on-sidebar-regular"></i>
						<i class="fa fa-navicon visible-on-sidebar-mini"></i>
					</button>
				</div>
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a class="navbar-brand" href="account.php">Amazon.com</a>
				</div>
								<div class="collapse navbar-collapse">
					<ul class="nav navbar-nav navbar-right">

						<li class="dropdown dropdown-with-icons">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown">
								<i class="fa fa-list"></i>
								<p class="hidden-md hidden-lg">
									More
									<b class="caret"></b>
								</p>
							</a>
							<ul class="dropdown-menu dropdown-with-icons">
								<li>
									<a href="reset.php">
										<i class="pe-7s-lock"></i> Change Password
									</a>
								</li>
								<li>
									<a href="logout.php" class="text-danger">
										<i class="pe-7s-close-circle"></i>
										Log Out
									</a>
								</li>
							</ul>
						</li>

					</ul>
				</div>
			</div>
		</nav>

        <div class="content">
            <div class="container-fluid">
						
				<div class="row">				
					<div class="col-md-12">
					    <div class="card">
                            <div class="header" style="margin-bottom:15px;">
								<div class="pull-left">
									<h4 style="display:inline;" class="title">Campaigns</h4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="btn btn-default" style="display:inline;" href="leads.php"><span class="glyphicon glyphicon-user"></span> Leads</a>
								</div>
								<div class="pull-right">
									<a href="newcampaign.php" class="btn btn-success"><span class="glyphicon glyphicon-plus"></span> Create Campaign</a>
								</div>
                            </div>
                            <div class="content" style="padding-left:20px;margin-top:30px;">
							
								<div class="table-full-width">
                                    <table class="table">
                                        <tbody>
											<tr><td>You don't have any active campaigns. <a href="newcampaign.php">Get Started</a>.</td></tr>										</tbody>
									</table>
								</div>
							
							</div>
                        </div>
					</div>					
				</div>
				
			</div>
		</div>




    </div>
</div>



    <!--   Core JS Files and PerfectScrollbar library inside jquery.ui   -->
    <script src="../assets/js/jquery.min.js" type="text/javascript"></script>
    <script src="../assets/js/jquery-ui.min.js" type="text/javascript"></script>
	<script src="../assets/js/bootstrap.min.js" type="text/javascript"></script>


	<!--  Forms Validations Plugin -->
	<script src="../assets/js/jquery.validate.min.js"></script>

	<!--  Plugin for Date Time Picker and Full Calendar Plugin-->
	<script src="../assets/js/moment.min.js"></script>

    <!--  Date Time Picker Plugin is included in this js file -->
    <script src="../assets/js/bootstrap-datetimepicker.js"></script>

    <!--  Select Picker Plugin -->
    <script src="../assets/js/bootstrap-selectpicker.js"></script>

	<!--  Checkbox, Radio, Switch and Tags Input Plugins -->
	<script src="../assets/js/bootstrap-checkbox-radio-switch-tags.js"></script>

	<!--  Charts Plugin -->
	<script src="../assets/js/chartist.min.js"></script>

    <!--  Notifications Plugin    -->
    <script src="../assets/js/bootstrap-notify.js"></script>

    <!-- Sweet Alert 2 plugin -->
	<script src="../assets/js/sweetalert2.js"></script>

    <!-- Vector Map plugin -->
	<script src="../assets/js/jquery-jvectormap.js"></script>

	<!-- Wizard Plugin    -->
    <script src="../assets/js/jquery.bootstrap.wizard.min.js"></script>

    <!--  Bootstrap Table Plugin    -->
    <script src="../assets/js/bootstrap-table.js"></script>

	<!--  Plugin for DataTables.net  -->
    <script src="../assets/js/jquery.datatables.js"></script>


    <!--  Full Calendar Plugin    -->
    <script src="../assets/js/fullcalendar.min.js"></script>

    <!-- Light Bootstrap Dashboard Core javascript and methods -->
	<script src="../assets/js/light-bootstrap-dashboard.js"></script>
	
	
	<script>
	$(document).ready(function(){
			
		
	});

	</script>
	
	
	
	
	<script type="text/javascript">		
	
	function copyToClipboard(text) {
    if (window.clipboardData && window.clipboardData.setData) {
        // IE specific code path to prevent textarea being shown while dialog is visible.
        return clipboardData.setData("Text", text); 

    } else if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
        var textarea = document.createElement("textarea");
        textarea.textContent = text;
        textarea.style.position = "fixed";  // Prevent scrolling to bottom of page in MS Edge.
        document.body.appendChild(textarea);
        textarea.select();
        try {
            return document.execCommand("copy");  // Security exception may be thrown by some browsers.
        } catch (ex) {
            console.warn("Copy to clipboard failed.", ex);
            return false;
        } finally {
            document.body.removeChild(textarea);
        }
    }
}
			
	$(document).ready(function(){
		
		$(".get-code").click(function(){
			var key = $(this).attr("data-key");
			copyToClipboard('<script type=\'text/javascript\' src=\'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js\'><\/script><script type=\'text/javascript\' src=\'https://sellerstats.com/cyfr2/jquery.cookie.js\'><\/script><script type=\'text/javascript\' src=\'https://sellerstats.com/cyfr2/jquery.inputmask.bundle.min.js\'><\/script><script  type=\'text/javascript\'  data-key=\''+key+'\' src=\'https://sellerstats.com/cyfr2/cyfr2.js\'><\/script>');
			new Noty({type: 'success',text: 'Code successfully copied to clipboard.'}).show();
		});
		
		$(".remove-campaign").click(function(){
			var key = $(this).attr("data-key");
			var n = new Noty({
			  text: 'Are you sure you want to PERMANENTLY DELETE this campaign?',
			  layout: 'topCenter',
			  buttons: [
				Noty.button('YES', 'btn btn-success btn-lg', function () {
					console.log('button 1 clicked');
					window.location = "removecampaign.php?c="+key;
				}, {id: 'button1', 'data-status': 'ok','style': 'margin:40px;'}),

				Noty.button('NO', 'btn btn-danger btn-lg', function () {
					console.log('button 2 clicked');
					n.close();
				})
			  ]
			}).show();
		});
		
		

		

$("#copytoclipboard").click(function(){
	
	var text = $(this).attr("tocopy");
	copyTextToClipboard(text);
	showsuccess(text+" copied to clipboard");
});	
		
		
	});		
	
	
function copyTextToClipboard(text) {
  var textArea = document.createElement("textarea");



  // Place in top-left corner of screen regardless of scroll position.
  textArea.style.position = 'fixed';
  textArea.style.top = 0;
  textArea.style.left = 0;

  // Ensure it has a small width and height. Setting to 1px / 1em
  // doesn't work as this gives a negative w/h on some browsers.
  textArea.style.width = '2em';
  textArea.style.height = '2em';

  // We don't need padding, reducing the size if it does flash render.
  textArea.style.padding = 0;

  // Clean up any borders.
  textArea.style.border = 'none';
  textArea.style.outline = 'none';
  textArea.style.boxShadow = 'none';

  // Avoid flash of white box if rendered for any reason.
  textArea.style.background = 'transparent';


  textArea.value = text;

  document.body.appendChild(textArea);

  textArea.select();

  try {
    var successful = document.execCommand('copy');
    var msg = successful ? 'successful' : 'unsuccessful';
    console.log('Copying text command was ' + msg);
  } catch (err) {
    console.log('Oops, unable to copy');
  }

  document.body.removeChild(textArea);
}
			

			
	</script>


</body>
</html>