Files
Wrench-ApiTester/public/myfit/index.php
T
dev-chiefworks 7d830711b3 New files
2023-04-30 20:25:08 -04:00

61 lines
2.4 KiB
PHP

<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<title>myFit API Test POINT</title>
</head>
<body>
<h1>myFit Api Tests!</h1>
<?php
$dm ="http://".$_SERVER['HTTP_HOST']."/myfit/";
$tArr =[
['login','What are you for really *******'],
['tracking_weight','What are you for really *******'],
['tracking_blood_pressure','What are you for really *******'],
['tracking_history','This is a sample call for tracking history'],
['loginhx','Login History'],
['signup','Create new Account'],
['signup_code','Temporary to give the sign up codes'],
['signup_complete','Complete Signup'],
['resetpass','Reset Password'],
['resetpass_code','Temporary to give the resetpass up codes'],
['resetpass_verify','Verify Reset Password'],
['resetpass_complete','Verify Reset Password'],
['test_email','TEST EMAIL'],
['profile_resetpass','Reset Password in a user account'],
['calendar','Get Calendar Data']
];
$i=0;
echo "<table class='table table-striped'>";
foreach($tArr as $rr){
$i++;
$urlS = $dm.$rr[0].".php";
echo "<tr><td style='width: 20px'>$i</td><td style='width: 120px'><a href='".$urlS ."' target='BLANK'>".$urlS ."</a></td><td>".$rr[1]."</td></tr>";
}
echo "</table>";
//foreach ($_SERVER as $parm => $value) echo "$parm = '$value'\n";
?>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>
-->
</body>
</html>