query($sql) as $row) { $data['id'] = $row['id']; $data['site_name'] = $row['site_name']; $data['site_owner'] = $row['site_owner']; $data['client_id'] = $row['client_id']; $data['created_at'] = $row['created_at']; $data['deleted_at'] = $row['deleted_at']; $listArray[] = $data; } $itemCount = count($listArray); ?>
This page shows you all of the sites that you have registered here, and their current status.
Site Name | Site Owner | Client ID | Created | Status | "; $site_name = $listArray[$i]["site_name"]; echo "$site_name"; echo " | "; echo ""; $site_owner = $listArray[$i]["site_owner"]; echo "$site_owner"; echo " | "; echo ""; $client_id = $listArray[$i]["client_id"]; echo "$client_id"; echo " | "; echo ""; $createdAt = new DateTime($listArray[$i]["created_at"]); $createdAtStr = date_format($createdAt, 'Y-m-d H:i:s'); echo "$createdAtStr"; echo " | "; echo ""; if ( is_null($listArray[$i]["deleted_at"]) ) { echo "Active"; } else { echo "Deleted"; } echo " | "; echo ""; } ?>
---|
Copyright © CAcert, Inc '; echo date("Y"); echo "
"; echo "