Subversion Repositories cheapmusic

Rev

Rev 114 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 114 Rev 116
Line 60... Line 60...
60
        </nav>
60
        </nav>
61
    </form>
61
    </form>
62
 
62
 
63
    <form method="post" action="/report.php">
63
    <form method="post" action="/report.php">
64
<div class="mt-2">        
64
<div class="mt-2">        
65
<label class="mr-2" for="startDate">Start Date: </label><input name="startDate" type="date" value="<?php echo date_format($startDate,"Y-m-d"); ?>"/> 
65
<label class="mr-2" for="startDate">Start Date: </label><input name="startDate" type="date" value="<?php echo date_format($startDate,"Y-m-d"); ?>" /> 
66
<label class="mx-2" for="endDate">End Date: </label><input name="endDate" type="date" value="<?php echo  date_format($endDate,"Y-m-d"); ?>"/> 
66
<label class="mx-2" for="endDate">End Date: </label><input name="endDate" type="date" value="<?php echo  date_format($endDate,"Y-m-d"); ?>" /> 
67
</div>
67
</div>
68
 <div class="mt-2">
68
 <div class="mt-2">
69
  <label class="mr-2" for="type">Select Chart Type:</label>
69
  <label class="mr-2" for="type">Select Chart Type:</label>
70
  <select name="type">
70
  <select name="type">
71
    <option <?php if ($chartType == "bars") echo "selected";?>>bars</option>
71
    <option <?php if ($chartType == "bars") echo "selected";?>>bars</option>
Line 82... Line 82...
82
    <option <?php if ($chartType == "thinbarline") echo "selected";?>>thinbarline</option>
82
    <option <?php if ($chartType == "thinbarline") echo "selected";?>>thinbarline</option>
83
  </select>
83
  </select>
84
</div> 
84
</div> 
85
<div class="form-check mt-2"">
85
<div class="form-check mt-2"">
86
  <label class="form-check-label">
86
  <label class="form-check-label">
87
    <input type="checkbox" name="unique" class="form-check-input" value="" <?php if ($uniqueIP) echo 'checked';?>>Unique IP
87
    <input type="checkbox" name="unique" class="form-check-input" value="" <?php if ($uniqueIP) echo 'checked';?> />Unique IP
88
  </label>
88
  </label>
89
</div>
89
</div>
90
 
90
 
91
<div class="mt-2">
91
<div class="mt-2">
92
<label class="mr-2" for="width">Width: </label><input name="width" type="number" value="<?php echo $width;?>"/> 
92
<label class="mr-2" for="width">Width: </label><input name="width" type="number" value="<?php echo $width;?>" /> 
93
<label class="mx-2" for="height">Height: </label><input name="height" type="number" value="<?php echo $height;?>"/> 
93
<label class="mx-2" for="height">Height: </label><input name="height" type="number" value="<?php echo $height;?>" /> 
94
</div>
94
</div>
95
<div class="mt-2">
95
<div class="mt-2">
96
<input type="submit" name="submit" value="Submit">
96
<input type="submit" name="submit" value="Submit" />
97
</div>
97
</div>
98
    </form>
98
    </form>
99
    
99
    
100
<hr>
100
<hr>
101
 
101
 
Line 106... Line 106...
106
        $params .= "&end=" . date_format($endDate,"Ymd");
106
        $params .= "&end=" . date_format($endDate,"Ymd");
107
        $params .= "&width=" . $width;
107
        $params .= "&width=" . $width;
108
        $params .= "&height=" . $height;
108
        $params .= "&height=" . $height;
109
        $params .= "&type=" . $chartType;
109
        $params .= "&type=" . $chartType;
110
        $params .= "&unique=" . ($uniqueIP ? "1" : "0");
110
        $params .= "&unique=" . ($uniqueIP ? "1" : "0");
111
        echo '<img  class="mx-auto d-block img-fluid" src="/plotimage.php?' . $params . '" alt="Searches and Transfers Image">';
111
        echo '<img  class="mx-auto d-block img-fluid" src="/plotimage.php?' . $params . '" alt="Searches and Transfers Image" />';
112
    }
112
    }
113
?>
113
?>
114
    <footer class="container-fluid text-center bg-primary py-5">
114
    <footer class="container-fluid text-center bg-primary py-5">
115
        <p>Copyright &#169; <?php echo @date("Y"); ?> FindCheapMusic.com. All rights reserved.</p>
115
        <p>Copyright &#169; <?php echo @date("Y"); ?> FindCheapMusic.com. All rights reserved.</p>
116
    </footer>
116
    </footer>