Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2004-12-10 16:57:53
- SteveC
- New Member
- Registered: 2004-11-06
- Posts: 9
sjc_sectionlist
I just wrote this quickly because I couldn’t gen greenrifts to work properly
$plugin=‘YTo4OntzOjQ6Im5hbWUiO3M6MTU6InNqY19zZWN0aW9ubGlzdCI7czo2OiJhdXRob3IiO3M6MTM6IlN0ZXZlIENvY2tyYW0iO3M6MTA6ImF1dGhvcl91cmkiO3M6MTk6Imh0dHA6Ly95b3Vyc2l0ZS5jb20iO3M6NzoidmVyc2lvbiI7czozOiIwLjEiO3M6MTE6ImRlc2NyaXB0aW9uIjtzOjcyOiJBbiBvcmRlcmFibGUgJmx0O3R4cDpzZWN0aW9uX2xpc3QgLyZndDsuICBDYW4gcnVuIGluID89bWVzc3kgb3IgL2NsZWFuLy4iO3M6NDoiaGVscCI7czoxNDQ5OiINCgkJPGgxPlRoZSBNdWNoIE5lZWRlZCBIZWxwPC9oMT4NCgkJPHA+c2pjX3NlY3Rpb25saXN0IGFsbG93cyB5b3UgdG8gYnVpbGQgYSBsaXN0IG9mIHlvdXIgc2VjdGlvbnMgd2l0aCBtb3JlIG9wdGlvbnMgdGhhbiB0aGUgVFhQIHN0YW5kYXJkLjwvcD4NCgkJPGgyPkhvdyBUbyBVc2U8L2gyPg0KCQk8cD5UbyB1c2Ugc2pjX3NlY3Rpb25saXN0IHlvdSBzaW1wbHkgbmVlZCB0byBwdXQgYSAmbHQ7c2pjX3NlY3Rpb25saXN0IG9yZGVyPSIiIGhvbWU9IiIgLyZndDsgdGFnIHdoZXJlIHlvdSB3YW50IHRoZSBzZWN0aW9uIGxpc3QuPC9wPg0KCQk8cD5zamNfc2VjdGlvbmxpc3QgZG9lcyAqbm90KiBjaGVjayB0byBzZWUgaWYgdGhlIHNlY3Rpb25zIGV4aXN0LCB0aGVyZWZvcmUgeW91IG11c3QgbWFrZSBzdXJlIHRoYXQgdGhleSBkby4gIFNpbX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8L2E+PC9saT4nOw0KCQkkc2VjdHMgPSAkc2VjdHMubi4kc2VjdDsNCgl9DQoJJHNlY3RzID0gJHNlY3RzLm4uIjwvdWw+IjsNCgkkc2pjX291dCA9ICRzZWN0czsNCgkNCglyZXR1cm4gJHNqY19vdXQ7DQp9DQoJIjtzOjM6Im1kNSI7czozMjoiNDc2Mzk1ZjIxYTAzNWM0MzM1NDQwMjMzNjA3NTUwYWUiO30=’
Please do not put this on any other sites until I say its OK, still building the PHP to be better.
Last edited by SteveC (2004-12-10 16:59:08)
Offline
Pages: 1