flink_ask_list.htm 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!--{template milu_seotool:header}-->
  2. <script type="text/javascript">
  3. function flink_ask_op(id, status){
  4. showDialog('', 'info', loading_html('{lang milu_seotool:send_asking}'));
  5. jq.post(PLUGIN_URL+'flink&myac=seotool_ajax_func&af=flink_ask_op&inajax=1&tpl=no&id='+id+'&status='+status,null,function (msg) {
  6. if(msg != 1 || msg == '') {
  7. showDialog(msg, 'notice');
  8. return;
  9. }else{
  10. showDialog('{lang milu_seotool:op_success}', 'right', '', function (){location.href = PLUGIN_URL+'flink&myac={$_GET[myac]}'},'','','','','',3);
  11. }
  12. });
  13. }
  14. function flink_ask_detail(id, type){
  15. showWindow('flink_window', PLUGIN_URL+'flink&myac=seotool_ajax_func&af=flink_ask_detail&inajax=1&tpl=no&id='+id+'&type='+type);
  16. }
  17. </script>
  18. <form id="form12" name="form12" action="?{PLUGIN_GO}{$submit_pmod}&myac={$submit_action}" method="post">
  19. <table class="tb tb2 " id="tips">
  20. <tbody><tr><th class="partition">{lang milu_seotool:search_args}</th></tr>
  21. <tr><td class="tipsblock" s="1">{$info['search_show']} <input type="submit" class="btn" id="submit_search" name="search_submit" value="{lang milu_seotool:search}"></td></tr></tbody></table>
  22. </form>
  23. <form id="form12" name="form12" action="?{PLUGIN_GO}{$submit_pmod}&myac={$submit_action}" method="post">
  24. <input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
  25. <table class="tb tb2 nobdt fixpadding">
  26. <tbody><tr>
  27. <th colspan="22" class="partition">{$info['show_title']}</th></tr>
  28. <tr class="header">
  29. <th width="200">{lang milu_seotool:sitename_view_visit}</th>
  30. <th width="250">{lang milu_seotool:remark_desc}</th>
  31. <th width="100">{lang milu_seotool:ask_date}</th>
  32. <th width="80">{lang milu_seotool:qq_contact}</th>
  33. <th width="80">{lang milu_seotool:status}</th>
  34. <th width="100">{lang milu_seotool:op}</th>
  35. </tr>
  36. <!--{if $info['list']}-->
  37. <!--{loop $info['list'] $key $rs}-->
  38. <tr class="hover"><td width="200">{$rs['sitename']}</td>
  39. <td width="250">{$rs['remark']}</td>
  40. <td width="100">{$rs['dateline']}</td>
  41. <td width="80">{eval echo seoOutput::show_qq($rs['qq'], 1)}</td>
  42. <td width="80">{$info['flink_status_arr'][$rs['status']]}</td>
  43. <td width="100">{eval echo show_flink_op($rs['id'], $info['type'],$rs['status'])}</td>
  44. </tr>
  45. <!--{/loop}-->
  46. <!--{else}-->
  47. <tr>
  48. <td colspan="22" align="center">{lang milu_seotool:no_data}</td>
  49. </tr>
  50. <!--{/if}-->
  51. <script type="text/JavaScript">_attachEvent(document.documentElement, 'keydown', function (e) { entersubmit(e, 'creditsubmit'); });</script></tbody></table>
  52. </form>