Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
hipo_reminder.inc
1 <?php
29 ?>
30 <html>
31  <head>
32  <title><?php echo SQ_SYSTEM_LONG_NAME ?> - Stalled hipo process </title>
33  <link rel="stylesheet" href="<?php echo sq_web_path('lib').'/web/css/hipo_reminder.css' ?>" type="text/css" />
34 
35  <!--[if IE]>
36  <style type="text/css">
37  .hipo-reminder-body {
38  width: 100%;
39  border-bottom: 5px solid #f1f1f1;
40  padding: 0 10px 10px;
41  }
42  .hipo-reminder-warning {
43  margin-top: 16px;
44  }
45 
46  </style>
47  <![endif]-->
48 
49  </head>
50  <body>
51  <div class="hipo-reminder">
52  <h1><?php echo sq_get_icon(sq_web_path('lib').'/web/images/icons/header/system_config.png', 20, 20, 'Key icon', '', 'align="absmiddle"') ?> Stalled HIPO Process </h1>
53  <div class="hipo-reminder-body">
54 
55  <p class="hipo-reminder-warning">YOU HAVE STALLED HIPO JOBS</p>
56 
57  <table class="sq-backend-section-table">
58  <tbody>
59  <tr class="sq-backend-section-heading-container">
60  <td>
61  <table border="0" cellpadding="0" cellspacing="0">
62  <tbody>
63  <tr>
64  <td class="sq-backend-section-heading">Current HIPO Jobs</td>
65  <td><?php echo sq_get_icon(sq_web_path('lib').'/web/images/section_icon.gif', 27, 21, 'Section icon', '', 'align="absmiddle"') ?></td>
66  </tr>
67  </tbody>
68  </table>
69  </td>
70  </tr>
71  <tr>
72  <td>
73  <table class="sq-backend-section-table-inner" border="0" cellpadding="0" cellspacing="0">
74  <tbody>
75  <tr>
76  <td class="sq-backend-field sq-backend-field-newline" colspan="2">
77  &nbsp;
78  </td>
79  </tr>
80  <tr>
81  <td class="sq-backend-data sq-backend-data-newline" colspan="2">
82  <table class="sq-backend-table">
83  <tbody>
84  <tr>
85  <td class="sq-backend-table-header">Job Type</td>
86  <td class="sq-backend-table-header">Last Updated</td>
87  <td class="sq-backend-table-header" style="text-align: center;">Percent Complete</td>
88  <td class="sq-backend-table-header">Code Name</td>
89  </tr>
90  <tr>
91  <?php
92  require_once SQ_FUDGE_PATH.'/general/datetime.inc';
93  $now = time();
94  foreach ($stalled_hipo_array as $job_index => $job_info) {
95  ?>
96  <td class="sq-backend-table-cell" style="text-align: left;"><?php echo $job_info['job_type']; ?></td>
97  <td class="sq-backend-table-cell" style="text-align: left;"><?php echo easy_time_total(strtotime($job_info['last_updated']) - $now, TRUE); ?></td>
98  <td class="sq-backend-table-cell" style="text-align: center;"><?php echo $job_info['percent_done'].'%'; ?></td>
99  <td class="sq-backend-table-cell" style="text-align: left;"><?php echo $job_info['code_name']; ?></td>
100  </tr><tr><?php
101  }
102  ?>
103  </tr>
104  </tbody>
105  </table>
106  </td>
107  </tr>
108  </tbody>
109  </table>
110  </td>
111  </tr>
112  </tbody>
113  </table>
114 
115  <h2>Continue to HIPO Jobs Screen</h3>
116 
117  <p>Click the <strong>HIPO Herder</strong> button below to proceed to your HIPO Herder or click Logout to exit the system.</p>
118 
119 
120  <table width="100%" border="0">
121  <tbody><tr>
122  <td>
123  <form method="post" action="?backend_section=hipo_herder">
124  <input type="submit" value="HIPO Herder">
125  </form>
126  </td>
127  <td align = "right">
128  <form method="post" action="?SQ_ACTION=real_logout">
129  <input type="submit" value="Logout">
130  </form>
131  </td>
132  </tr>
133  </tbody>
134  </table>
135 
136  </div>
137 
138  <div class="hipo-reminder-footer">
139  <a href="http://matrix.squiz.net/" target="_blank"><?php echo SQ_SYSTEM_LONG_NAME ?></a>
140  </div>
141  </div>
142 
143  </body>
144 </html>