Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<form action="" method="post">
<table class="table table-striped table-responsive">
<tr>
<td>Name der Rally</td>
<td style="min-width:300px;"><input type="text" name="name" value="<?php echo $row->name;?>" class="form-control" readonly></td>
<td></td>
</tr>
<tr>
<td> <b>Status </b> </td>
<td>
<select name="status" class="form-control">
<option value="aktive"<?php if ($row->status == 'aktive') echo' selected';?>>Aktive</option>
<option value="deaktiviert"<?php if ($row->status == 'deaktiviert') echo' selected';?>>Inaktive</option>
</select>
</td>
<td><small>Schalten sie die Rally schnell um ohne die Einstellungen anpassen zu müssen.</small></td>
</tr>
<tr>
<td><b>Start der Ralley</b> <br><small>(<i>HH/MM. - TT/MM/JJJJ</i>)</small></td>
<td>
<div class="input-group mb-3">
<input type="time" class="form-control" value="<?php echo substr($row->start_time,0,5);?>" name="start_time">
<input type="date" class="form-control" value="<?php echo $row->start_date;?>" name="start_date">
</div>
</td>
<td><small>Wählen sie hier wann die Rally starten soll.</small></td>
</tr>
<tr>
<td> <b>Rally endet nach? </b> </td>
<td>
<select name="ende_art" size="1" class="form-control">
<option value="punkt"<?php if ($row->ende_art == 'punkt') echo' selected';?>>Punkten</option>
<option value="zeit"<?php if ($row->ende_art == 'zeit') echo' selected';?>>Datum</option>
</select>
</td>
<td><small>Soll die rally bis zum Datum x laufen oder nach der aktivität x enden?</small></td>
</tr>
<tr>
<td><b>↳Datum</b><br> <small>(<i>HH/MM. - TT/MM/JJJJ</i>)</small></td>
<td>
<div class="input-group mb-3">
<input type="time" class="form-control" value="<?php echo substr($row->ende_time,0,5);?>" name="ende_time">
<input type="date" class="form-control" value="<?php echo $row->ende_date;?>" name="ende_date">
</div>
</td>
<td><small>Wenn die Rally bis zum Datum x geht stellen sie dies bitte hier ein.</small></td>
</tr>
<tr>
<td><b>↳Punkten</b> </td>
<td>
<input type="Text" name="ende_punkte" value="<?php echo $row->ende_punkte;?>" class="form-control">
<code><font style="font-size:12px;">Aktuell: <?php echo number_format($row->ende_punkte,'2',',','\'');?></font></code>
</td>
<td><small>Wenn die Rally nach Punkten endet stellen Sie hier ein bei wie vielen Punkten das Ende erreicht ist.</small></td>
</tr>
<tr>
<td>↳Punkten (aktuell) </td>
<td>
<input type="Text" name="ende_punkte_aktuell" value="<?php echo $row->ende_punkte_aktuell;?>" class="form-control">
<code><font style="font-size:12px;">Aktuell: <?php echo number_format($row->ende_punkte_aktuell,'2',',','\'');?></font></code>
</td>
<td><small>Wie viele Punkte schon erreicht sind. (Sollte zu rallystart 0 sein)</small></td>
</tr>
<tr>
<td>↳Steigerung Punkte </td>
<td>
<input type="Text" name="ende_punkte_anzahl" value="<?php echo $row->ende_punkte_anzahl;?>" class="form-control">
</td>
<td><small>Steigung der Punkte im verhältnis zum umsatz (hier ist ein matematischer string einzugeben) (wen sie pro aufruf nur 1 Punkte geben wollen z.b. klickrally geben Sie volgendes ein *0+1 wenn sie in einer gamerally z.b. einfach den umsatz werten wollen geben sie *1 ein. wen sie eine aprally haben z.b. und ein ap 100 Währung umsatz braucht geben sie /100 ein. es ist jede matematische rechnung möglich.</small></td>
</tr>
<tr>
<td>↳Formulierung Ende </td>
<td>
<input type="Text" name="ende_formulierung" value="<?php echo $row->ende_formulierung;?>" class="form-control">
</td>
<td><small>Wird im userbereich angezeigt. "Du hast in der RALLYNAME-Rally bereits x [_IHR_TEXT_]. (Danke)" z.b. in einer Klickrally "Klicks gemacht."</small></td>
</tr>
<tr>
<td>↳Anzeige </td>
<td>
<select name="ende_vortschritt" class="form-control">
<option value="datum"<?php if ($row->ende_vortschritt == 'datum') echo' selected';?>>Ende nach Datum</option>
<option value="Jeden Tag"<?php if ($row->ende_vortschritt == 'Jeden Tag') echo' selected';?>>Täglicher neustart</option>
<option value="Jede Woche"<?php if ($row->ende_vortschritt == 'Jede Woche') echo' selected';?>>Wöchentliche umrechnung</option>
<option value="Jeden Monat"<?php if ($row->ende_vortschritt == 'Jeden Monat') echo' selected';?>>Monatliche umrechnung</option>
<option value="Jedes Jahr"<?php if ($row->ende_vortschritt == 'Jedes Jahr') echo' selected';?>>Jährliche umrechnung</option>
</select>
</td>
<td><small>Falls es eine Rally ist die Taglich,Wöchentlich,Monatlich per cron immer wieder neu gestartet wird können sie das "Datum" für das ende in die Zukunft stellen und hier den rytmus angeben. Ist das ende wie eingestellt stellen sie die einstellung bitte auf Datum.<br>Täglich = 23.59 Uhr /-/ Wöchentlich = So 23.59 Uhr /-/ Monatlich = Letzter Tag 23.59 Uhr</small></td>
</tr>
<tr>
<td> <b>Rallyart </b> </td>
<td>
<select name="gewinn_art" class="form-control">
<option value="statisch"<?php if ($row->gewinn_art == 'statisch') echo' selected';?>>Statisch</option>
<option value="dynamisch"<?php if ($row->gewinn_art == 'dynamisch') echo' selected';?>>Dynamisch</option>
</select>
</td>
<td><small>Ob der Gewinn Statisch (Fix) ist oder Dynamisch (Abhängig von der aktivität)</small></td>
</tr>
<tr>
<td>↳Steigerung bei Dyn. </td>
<td>
<input type="Text" name="gewinn_dyn_steigerung" value="<?php echo $row->gewinn_dyn_steigerung;?>" class="form-control">
</td>
<td><small>Steigung der Punkte im verhältnis zum umsatz (hier ist ein matematischer string einzugeben) (wen sie pro aufruf nur 5 Punkte geben wollen z.b. klickrally geben Sie volgendes ein *0+5 wenn sie in einer gamerally z.b. einfach 1 Proz. des umsatz werten wollen geben sie /100 ein. Es ist jede Matematische Rechnung möglich.</small></td>
</tr>
<tr>
<td>↳Gewinn Topf </td>
<td>
<input type="Text" name="gewinn_topf" value="<?php echo $row->gewinn_topf;?>" class="form-control">
<code><font style="font-size:12px;">Aktuell: <?php echo number_format($row->gewinn_topf,'2',',','\'');?> </font></code>
</td>
<td><small>Wie viel aktuell im Topf für die ausschüttung ist (ist sowol bei dyn als auch bei statisch anzugeben bei statisch wird dieser prozentual aufgeteilt bei dyn zählt dies als startpott und wird bei aktivität steigen.</small></td>
</tr>
<tr>
<td> <b>Jackpot startet nach auswerung mit </b> </td>
<td>
<input type="Text" name="tagpotstart" value="<?php echo $row->tagpotstart;?>" class="form-control">
<code>Aktuell: <?php echo number_format($row->tagpotstart,'2',',','\'');?></code>
</td>
<td><small>Mit diesem wert wird der Gewinn-Pot bei einer umrechnung gefüllt (z.b. bei einer tagesrally die statisch ist ist dies die Gewinnsumme)</small></td>
</tr>
<tr>
<td> <b>Anzahl der Plätze </b> </td>
<td>
<select name="gewinner_anzahl" class="form-control">
<?php
for($x = 0;$x < 51;$x++) {
$select = '';
if ($x <= 9) { $y = '0' . $x; } else { $y = $x; }
if ($row->gewinner_anzahl == $x) { $select = ' selected'; }
echo '<option value="' . $x . '"' . $select . '>' . $y . '</option>';
}
?>
</select>
</td>
<td></td>
</tr>
<tr>
<td> <b>Einheit</b> </td>
<td>
<input type="Text" name="einheit" value="<?php echo $row->einheit;?>" class="form-control">
</td>
<td><small>Klicks/AP/Lose-Umsatz/... je nach rallyart (ist die überschrift in der Usertabelle)</small></td>
</tr>
<tr>
<td><b>Mindestpunktzahl für Gewinn</b> </td>
<td>
<input type="Text" name="mindestpunktzhl" value="<?php echo $row->mindestpunktzhl;?>" class="form-control">
<code>Aktuell: <?php echo number_format($row->mindestpunktzhl,'2',',','\'');?></code>
</td>
<td><small>Wie viele Punkte ein User mindestens haben muss um etwas zu gewinnen.</small></td>
</tr>
<tr>
<td> <b>Gesperrte User</b> </td>
<td>
<input type="Text" name="sperruser" value="<?php echo $row->sperruser;?>" class="form-control">
</td>
<td><small>Bitte so eintagen: 9999999,9999998, ......</small></td>
</tr>
</table>
<textarea name="beschriebf" class="form-control"><?php echo $row->beschriebf;?></textarea>
<br>
<input type="Submit" name="run[RallyConfig]" value="Speichern" class="btn btn-success btn-block">
</form>