15 |
|
|
16 |
<%session scope="global"> |
<%session scope="global"> |
17 |
std::string userName; |
std::string userName; |
|
bool isAdmin; |
|
18 |
</%session> |
</%session> |
19 |
|
|
20 |
<%args> |
<%args> |
45 |
|
|
46 |
reply.out() << "<a href='adm_installation_list?customerid=" << customerid<< "&name=" << name << "'>"; |
reply.out() << "<a href='adm_installation_list?customerid=" << customerid<< "&name=" << name << "'>"; |
47 |
reply.sout() << "<< back to installation list"; |
reply.sout() << "<< back to installation list"; |
48 |
reply.out() << "</a><br>"; |
reply.out() << "</a><br><br>"; |
49 |
|
|
50 |
tntdb::Connection conn = tntdb::connect(dburl); |
tntdb::Connection conn = tntdb::connect(dburl); |
51 |
|
|
144 |
</tr> |
</tr> |
145 |
<tr> |
<tr> |
146 |
<td>IMEI nr</td> |
<td>IMEI nr</td> |
147 |
<td><input type="text" name="imei" size="40" value="<$imei$>"></td> |
<td><input type="text" name="imei" size="40" maxlength="16" value="<$imei$>"></td> |
148 |
</tr> |
</tr> |
149 |
<tr> |
<tr> |
150 |
<td>Update rate</td> |
<td>Update rate</td> |
161 |
<input type="hidden" name="submit" value="1"> |
<input type="hidden" name="submit" value="1"> |
162 |
</form> |
</form> |
163 |
|
|
|
<br> |
|
|
<form method="post" action="adm_installation_delete"> |
|
|
<input type="hidden" name="id" value="<$id$>"> |
|
|
<input type="hidden" name="customerid" value="<$customerid$>"> |
|
|
<input type="hidden" name="name" value="<$name$>"> |
|
|
<input type="submit" value="Delete"> |
|
|
</form> |
|
|
|
|
164 |
<{ |
<{ |
165 |
} |
if (id != -1) |
166 |
|
{ |
167 |
|
}> |
168 |
|
<br> |
169 |
|
<form method="post" action="adm_installation_delete" onsubmit="return confirm('Are you sure ?\\nThis will delete all loggings related to this installation','Delete installation');"> |
170 |
|
<input type="hidden" name="id" value="<$id$>"> |
171 |
|
<input type="hidden" name="customerid" value="<$customerid$>"> |
172 |
|
<input type="hidden" name="name" value="<$name$>"> |
173 |
|
<input type="submit" value="Delete this installation"> |
174 |
|
</form> |
175 |
|
|
176 |
|
|
177 |
|
<{ |
178 |
|
} //fi (id != -1) |
179 |
|
} //fi (showForm) |
180 |
}> |
}> |
181 |
|
|
182 |
<&footer> |
<&footer> |