BVB Source Codes

Shandong kernel enterprise stand the source code Show vote.php Source code

Return Download Shandong kernel enterprise stand the source code: download vote.php Source code - Download Shandong kernel enterprise stand the source code Source code - Type:.php
  1. <?php
  2. require(dirname(__FILE__)."/../include/common.inc.php");
  3. require(DEDEINC."/dedevote.class.php");
  4. if(empty($dopost)) $dopost = '';
  5.  
  6. $aid = (isset($aid) && is_numeric($aid)) ? $aid : 0;
  7. if($aid==0) die(" Request Error! ");
  8.  
  9. if($aid==0)
  10. {
  11.         ShowMsg("没指定投票项目的ID!","-1");
  12.         exit();
  13. }
  14. $vo = new DedeVote($aid);
  15. $rsmsg = '';
  16.  
  17. if($dopost=='send')
  18. {
  19.   if(!empty($voteitem))
  20.   {
  21.         $rsmsg = "<br />&nbsp;你方才的投票状态:".$vo->SaveVote($voteitem)."<br />";
  22.   }
  23.   else
  24.   {
  25.         $rsmsg = "<br />&nbsp;你刚才没选择任何投票项目!<br />";
  26.   }
  27. }
  28.  
  29. $voname = $vo->VoteInfos['votename'];
  30. $totalcount = $vo->VoteInfos['totalcount'];
  31. $starttime = GetDateMk($vo->VoteInfos['starttime']);
  32. $endtime = GetDateMk($vo->VoteInfos['endtime']);
  33. $votelist = $vo->GetVoteResult("98%",30,"30%");
  34.  
  35. //显示模板(简单PHP文件)
  36. include(DEDETEMPLATE.'/plus/vote.htm');
  37.  
  38. ?>
downloadvote.php Source code - Download Shandong kernel enterprise stand the source code Source code
Related Source Codes/Software:
Dede V2.2 dance music program - This system is based on DEDE5.7 sp1 production dan... 2016-11-11
Search engine v1.0 eight grams of novels - This program consists of WEB side and collection p... 2016-11-11
A thief free Jacky novel CMS, support for multiple station collection, support pseudo original SEO - A thief free Jacky novel CMS, support for multiple... 2016-11-11
Kunlun lubricating oil companies stand the source code - Just testing, free, source code is very beautiful ... 2016-11-11
Imitation of Chinese stationmaster net source dreams to 5.7 sp1 source code - Exactly the same and the Director of China network... 2016-11-11
Newscoop CMS v4.0.4 multilingual version - Newscoop is a content management system is mainly ... 2016-11-11
Ku978 navigator free send you department (with acquisition module) - Is I purchase the commercial version of this progr... 2016-11-11
Think of concise message this v1.1 - Wisdom of concise message this V1.1 main functions... 2016-11-11
nvidia-docker - Build and run Docker containers leveraging NVIDIA ... 2017-04-08
quickstart - Angular 2 QuickStart - source from the documentati... 2017-04-08
jQuery-Autocomplete - Ajax Autocomplete for jQuery allows you to easily ... 2017-04-08
Android-Best-Practices - Android best practice examples 2017-04-08
Bootstrap-Admin-Template - Metis - Free Bootstrap Admin Dashboard Template ... 2017-04-08
CocoaSPDY - SPDY for iOS and OS X 2017-04-08
parse-dashboard - A dashboard for managing your Parse apps that aren... 2017-04-08
HoloEverywhere - NO LONGER MAINTAINED. DEVELOP FOR 4.X+ DUDE. 2017-04-08
side-comments - [UNMAINTAINED] An interface component to give your... 2017-04-08
SVG-Morpheus - JavaScript library enabling SVG icons to morph fro... 2017-04-08

 Back to top