forked from rDrama/rDrama
fds]
parent
e87c9c459d
commit
c8e43b2f79
|
@ -169,7 +169,7 @@ def remove_fake_admin(v, username):
|
||||||
@limiter.limit("1/day")
|
@limiter.limit("1/day")
|
||||||
@admin_level_required(6)
|
@admin_level_required(6)
|
||||||
def monthly(v):
|
def monthly(v):
|
||||||
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.id in [1,12,28,29,747,995,1480]) or ('rama' not in request.host and 'pcm' not in request.host):
|
if 'pcm' in request.host or (SITE_NAME == 'Drama' and v.id in [1,995]) or ('rama' not in request.host and 'pcm' not in request.host):
|
||||||
thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id
|
thing = g.db.query(AwardRelationship).order_by(AwardRelationship.id.desc()).first().id
|
||||||
for u in g.db.query(User).options(lazyload('*')).filter(User.patron > 0).all():
|
for u in g.db.query(User).options(lazyload('*')).filter(User.patron > 0).all():
|
||||||
if u.patron == 1: procoins = 2000
|
if u.patron == 1: procoins = 2000
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
{% if v.id in [1,12,28,29,747,995,1480] %}
|
{% if v.id in [1,995] %}
|
||||||
<div><a class="btn btn-success" href="javascript:void(0)" onclick="post_toast('/admin/monthly')">Grant Monthly Marseybux</a></div>
|
<div><a class="btn btn-success" href="javascript:void(0)" onclick="post_toast('/admin/monthly')">Grant Monthly Marseybux</a></div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue