Lieber Besucher, herzlich willkommen bei: Comasu. Falls dies dein erster Besuch auf dieser Seite ist, lies bitte die Hilfe durch. Dort wird dir die Bedienung dieser Seite näher erläutert. Darüber hinaus solltest du dich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutze das Registrierungsformular, um dich zu registrieren oder informiere dich ausführlich über den Registrierungsvorgang. Falls du dich bereits zu einem früheren Zeitpunkt registriert hast, kannst du dich hier anmelden.
-
-
-
Montag, 17. März 2014, 20:56Nummer drei
Thread 2
PHP-Quelltext
<?php public static function encrypt($value) { if (defined('ENCRYPTION_METHOD')) { switch (ENCRYPTION_METHOD) { case 'sha1': return sha1($value); case 'md5': return md5($value); case 'crc32': return crc32($value); case 'crypt': return crypt($value); } } return sha1($value); } ?> -
Freitag, 21. März 2014, 19:51just testing :D
PHP-Quelltext
- public function readParameters() {
- parent::readParameters();
- if (WCF::getUser()->userID || WCF::getSession()->getVar('captchaDone')) {
- $this->useCaptcha = false;
- }
- if(isset($_REQUEST['pshorty'])) {
- $this->project = new Project(null, $_REQUEST['pshorty']);
- $this->project->enter();
- #$this->project->checkPermission('issue.create');
- }
- if(isset($_REQUEST['itemID'])) {
- $this->issue = new IssueEditor($this->project->getId(), intval($_REQUEST['itemID']));
- if(!$this->issue->getId()) throw new NamedUserException("Unbekannte Fall-ID");
- $this->project->checkPermission('issue.edit');
- }
- if(isset($_REQUEST['typeID'])) $this->typeID = intval($_REQUEST['typeID']);
- }
- public function readData() {
- parent::readData();
- if(!count($_POST) && $this->issue) {
- $this->issuename = $this->issue->getName();
- $this->description = $this->issue->description;
- $this->sourcecode = $this->issue->sourcecode;
- $this->statusID = $this->issue->statusID;
- $this->packageID = $this->issue->packageID;
- $this->versionID = $this->issue->versionID;
- $this->releaseVersionID = $this->issue->releaseVersionID;
- $this->typeID = $this->issue->typeID;
- $this->duplicateNr = $this->issue->duplicateNr;
- $this->username = $this->issue->username;
- }
- if($this->project->hasModule('versions')) {
- $result = WCF::getDB()->sendQuery("SELECT versionID, versionString, versionname FROM cd".CD_N."_version WHERE packageID = '".($this->packageID ? $this->packageID : 0)."' AND projectID = '".$this->project->getId()."' ORDER BY versionString ASC");
- while ($row = WCF::getDB()->fetchArray($result)) {
- $this->versionList[] = new Version(null, $row);
- }
- Version::sortVersions($this->versionList);
- }
- $result = WCF::getDB()->sendQuery("SELECT * FROM cd".CD_N."_issue_status WHERE projectID = '".$this->project->getId()."' ORDER BY statusID");
- while ($row = WCF::getDB()->fetchArray($result)) {
- $this->statusList[] = $row;
- }
- $result = WCF::getDB()->sendQuery("SELECT * FROM cd".CD_N."_issue_type WHERE projectID = '".$this->project->getId()."' ORDER BY typeID");
- while ($row = WCF::getDB()->fetchArray($result)) {
- $this->typeList[] = $row;
- }
- $result = WCF::getDB()->sendQuery("SELECT issueID, mynr, subject FROM cd".CD_N."_issue WHERE projectID = '".$this->project->getId()."' ORDER BY mynr DESC");
- while ($row = WCF::getDB()->fetchArray($result)) {
- if($this->issue && $this->issue->getNr() == $row['mynr']) continue;
- $this->issueList[] = $row;
- }
- $this->packageList = Package::getPackages($this->project->getId());
- if($this->typeID === null) {
- if(count($this->typeList) <= 0) $this->typeID = 0;
- else if(count($this->typeList) == 1) $this->typeID = $this->typeList[0]['typeID'];
- else $this->templateName = 'issueType';
- }
- else {
- $this->type = WCF::getDB()->getFirstRow("SELECT * FROM cd".CD_N."_issue_type WHERE typeID = '".$this->typeID."' AND projectID = '".$this->project->getId()."'");
- if(!$this->type) throw new NamedUserException("Unbekannter Falltyp");
- }
- }
<?php public function readParameters() { parent::readParameters(); if (WCF::getUser()->userID || WCF::getSession()->getVar('captchaDone')) { $this->useCaptcha = false; } if(isset($_REQUEST['pshorty'])) { $this->project = new Project(null, $_REQUEST['pshorty']); $this->project->enter(); #$this->project->checkPermission('issue.create'); } if(isset($_REQUEST['itemID'])) { $this->issue = new IssueEditor($this->project->getId(), intval($_REQUEST['itemID'])); if(!$this->issue->getId()) throw new NamedUserException("Unbekannte Fall-ID"); $this->project->checkPermission('issue.edit'); } if(isset($_REQUEST['typeID'])) $this->typeID = intval($_REQUEST['typeID']); } public function readData() { parent::readData(); if(!count($_POST) && $this->issue) { $this->issuename = $this->issue->getName(); $this->description = $this->issue->description; $this->sourcecode = $this->issue->sourcecode; $this->statusID = $this->issue->statusID; $this->packageID = $this->issue->packageID; $this->versionID = $this->issue->versionID; $this->releaseVersionID = $this->issue->releaseVersionID; $this->typeID = $this->issue->typeID; $this->duplicateNr = $this->issue->duplicateNr; $this->username = $this->issue->username; } if($this->project->hasModule('versions')) { $result = WCF::getDB()->sendQuery("SELECT versionID, versionString, versionname FROM cd".CD_N."_version WHERE packageID = '".($this->packageID ? $this->packageID : 0)."' AND projectID = '".$this->project->getId()."' ORDER BY versionString ASC"); while ($row = WCF::getDB()->fetchArray($result)) { $this->versionList[] = new Version(null, $row); } Version::sortVersions($this->versionList); } $result = WCF::getDB()->sendQuery("SELECT * FROM cd".CD_N."_issue_status WHERE projectID = '".$this->project->getId()."' ORDER BY statusID"); while ($row = WCF::getDB()->fetchArray($result)) { $this->statusList[] = $row; } $result = WCF::getDB()->sendQuery("SELECT * FROM cd".CD_N."_issue_type WHERE projectID = '".$this->project->getId()."' ORDER BY typeID"); while ($row = WCF::getDB()->fetchArray($result)) { $this->typeList[] = $row; } $result = WCF::getDB()->sendQuery("SELECT issueID, mynr, subject FROM cd".CD_N."_issue WHERE projectID = '".$this->project->getId()."' ORDER BY mynr DESC"); while ($row = WCF::getDB()->fetchArray($result)) { if($this->issue && $this->issue->getNr() == $row['mynr']) continue; $this->issueList[] = $row; } $this->packageList = Package::getPackages($this->project->getId()); if($this->typeID === null) { if(count($this->typeList) <= 0) $this->typeID = 0; else if(count($this->typeList) == 1) $this->typeID = $this->typeList[0]['typeID']; else $this->templateName = 'issueType'; } else { $this->type = WCF::getDB()->getFirstRow("SELECT * FROM cd".CD_N."_issue_type WHERE typeID = '".$this->typeID."' AND projectID = '".$this->project->getId()."'"); if(!$this->type) throw new NamedUserException("Unbekannter Falltyp"); } } ?> -
-
Dienstag, 25. März 2014, 14:11
-
Samstag, 29. März 2014, 17:46Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Zitat von »Boohja «
Nummer drei
So siehts nämlich aus
- alpha
- beta
- gamma
Und nun normal:
- alpha
- beta
- gamma
-
Sonntag, 13. April 2014, 12:19
Zitat von »Boohja «
et clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem i -
Ähnliche Themen
Shifters Thread 1 (17. März 2014, 20:55)
Shifters Shifters - Der Anfang (26. September 2009, 21:39)
Shifters Schlachtplan (24. Oktober 2009, 13:13)
Thema bewerten