Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($submit) {
- $head = sprintf('
- <input type="checkbox" name="%d" />
- ', $id);
- $event = sprintf('
- document.getElementById(\'b1\').value=%d;
- document.getElementById(\'b2\').value=%d;
- ', $id, $id);
- }
- else {
- $head = sprintf('
- (%d) <a href="#" onclick="page.vote(\'%d\', \'&op=plus\');">+</a> <a href="#" onclick="page.vote(\'%d\', \'&op=minus\')">-</a>
- ', $votes, $id, $id);
- $event = sprintf('
- page.load(\'search\', \'&list=ASC&by=id&id=%d\')
- ', $id);
- }
Add Comment
Please, Sign In to add comment