Grafische gevorderde |
|
Hmm ik heb nu dus dit
<tr style="font-weight:bold;background-color:#EFEFEF">
<td align="center"><input id="delete392135" type="checkbox" name="delete[392135]" Onchange="document.getElementById['reset392135'].checked=false" /></td>
<td align="center"><input id="reset392135" type="checkbox" name="reset[392135]" Onchange="document.getElementById['delete392135'].checked=false" /></td>
<td align="left">Saeffle (#392135)</td>
<td align="center">Today</td>
<td align="center">$138430</td>
<td align="center">25 Days</td>
</tr>
<tr style="font-weight:bold;background-color:#EFEFEF"> <td align="center"><input id="delete392135" type="checkbox" name="delete[392135]" Onchange="document.getElementById['reset392135'].checked=false" /></td> <td align="center"><input id="reset392135" type="checkbox" name="reset[392135]" Onchange="document.getElementById['delete392135'].checked=false" /></td> <td align="left">Saeffle (#392135)</td> <td align="center">Today</td> <td align="center">$138430</td> <td align="center">25 Days</td> </tr>
En het werkt niet :S, in de php staat
$reset_button = "<input id=\"reset".$this->id[1]."\" type=\"checkbox\" name=\"reset[".$this->id[1]."]\" Onchange=\"document.getElementById['delete".$this->id[1]."'].checked=false\" />";
$skin->newBlock("inactive");
$skin->assign(array(
"PROVINCE" => $active['province'],
"LAST" => $last_update,
"RESET" => $reset_button,
"NW" => $active['networth'],
"DAYS" => round((time(date("Y-m-d")) - strtotime($active['insert_day'])) / 86400 ,0),
"COLOR" => $this->rowColor[$c++],
"ID" => "<input id=\"delete".$this->id[1]."\" type=\"checkbox\" name=\"delete[".$this->id[1]."]\" Onchange=\"document.getElementById['reset".$this->id[1]."'].checked=false\" />"
));
$reset_button = "<input id=\"reset".$this->id[1]."\" type=\"checkbox\" name=\"reset[".$this->id[1]."]\" Onchange=\"document.getElementById['delete".$this->id[1]."'].checked=false\" />"; $skin->newBlock("inactive"); "PROVINCE" => $active['province'], "LAST" => $last_update, "RESET" => $reset_button, "NW" => $active['networth'], "COLOR" => $this->rowColor[$c++], "ID" => "<input id=\"delete".$this->id[1]."\" type=\"checkbox\" name=\"delete[".$this->id[1]."]\" Onchange=\"document.getElementById['reset".$this->id[1]."'].checked=false\" />" ));
Ik werk met templatepower |